Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 109.4 kB / 18.4 MB, free: 4.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 189.2 kB / 19.33 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 51.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08579, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003068/0.0889, allocations: 2.117 MB / 377.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.08983, allocations: 0.5734 MB / 378.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.08997, allocations: 4 kB / 378.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.09014, allocations: 35.64 kB / 378.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.09025, allocations: 47.56 kB / 378.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.09044, allocations: 55.86 kB / 378.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.09069, allocations: 238.9 kB / 378.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.09087, allocations: 81.62 kB / 379 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.09099, allocations: 87.77 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.09114, allocations: 95.61 kB / 379.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.09118, allocations: 20 kB / 379.2 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.09122, allocations: 23.94 kB / 379.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.09127, allocations: 47.84 kB / 379.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.804e-05/0.09136, allocations: 103.5 kB / 379.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.0916, allocations: 235.2 kB / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09161, allocations: 0 / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09162, allocations: 0 / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09163, allocations: 0 / 379.6 MB, free: 0.793 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007073/0.09234, allocations: 498.8 kB / 380.1 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.09238, allocations: 16.03 kB / 380.1 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.09244, allocations: 16.75 kB / 380.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1671/0.2596, allocations: 219.8 kB / 380.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.2597, allocations: 15.42 kB / 380.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2598, allocations: 21.06 kB / 380.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.2602, allocations: 177.9 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2603, allocations: 0.6875 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2603, allocations: 8.031 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.2603, allocations: 4.625 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2606, allocations: 151.4 kB / 380.7 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2619, allocations: 0.7318 MB / 381.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.2623, allocations: 162.8 kB / 381.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.2625, allocations: 95.06 kB / 381.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2625, allocations: 1.344 kB / 381.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2625, allocations: 36 kB / 381.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.2625, allocations: 0 / 381.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004628/0.263, allocations: 189.4 kB / 381.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.263, allocations: 53.44 kB / 381.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2632, allocations: 148.3 kB / 382.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2632, allocations: 30.52 kB / 382.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.2632, allocations: 135.6 kB / 382.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.2633, allocations: 47.34 kB / 382.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.2634, allocations: 36.66 kB / 382.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.2634, allocations: 328.2 kB / 382.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2636, allocations: 51.3 kB / 382.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2637, allocations: 69.31 kB / 382.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.264, allocations: 129.3 kB / 382.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.264, allocations: 1.844 kB / 382.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003472/0.2644, allocations: 176.8 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2644, allocations: 5.344 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2644, allocations: 6.641 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2644, allocations: 1.594 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2647, allocations: 43.61 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2647, allocations: 1.375 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2648, allocations: 23.06 kB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2648, allocations: 4.125 kB / 383.1 MB, free: 11.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.859e-05/0.2649, allocations: 125 kB / 383.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.265, allocations: 11.58 kB / 383.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.265, allocations: 16.94 kB / 383.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2651, allocations: 5.641 kB / 383.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2651, allocations: 0 / 383.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2651, allocations: 5.266 kB / 383.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.2654, allocations: 264.7 kB / 383.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2654, allocations: 1.125 kB / 383.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2657, allocations: 40.78 kB / 383.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2657, allocations: 1.5 kB / 383.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2657, allocations: 5.312 kB / 383.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2657, allocations: 5.031 kB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2657, allocations: 0.5 kB / 383.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2662, allocations: 305.6 kB / 383.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2663, allocations: 89.52 kB / 384 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2663, allocations: 0.9688 kB / 384 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2665, allocations: 23.42 kB / 384 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.2665, allocations: 12.41 kB / 384 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2665, allocations: 7.047 kB / 384 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.2666, allocations: 113.9 kB / 384.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2666, allocations: 4.094 kB / 384.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000295/0.2669, allocations: 47.53 kB / 384.2 MB, free: 10.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001052/0.267, allocations: 112.1 kB / 384.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003076/0.2673, allocations: 127.5 kB / 384.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2674, allocations: 0 / 384.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.2675, allocations: 63.27 kB / 384.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2678, allocations: 22.41 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.2688, allocations: 0.544 MB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.269, allocations: 0.7209 MB / 385.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.269, allocations: 19.97 kB / 385.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2691, allocations: 0 / 385.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of Templates: time 0.004535/0.2736, allocations: 2.037 MB / 387.8 MB, free: 9.531 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time