Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.694/1.694, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 51.92 kB / 373.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1619, allocations: 53.33 MB / 426.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004791/0.1667, allocations: 2.166 MB / 429 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.168, allocations: 0.5727 MB / 429.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.1682, allocations: 4 kB / 429.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.1684, allocations: 27.72 kB / 429.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1685, allocations: 51.48 kB / 429.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1688, allocations: 63.92 kB / 429.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1692, allocations: 238.9 kB / 429.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1694, allocations: 61.64 kB / 430 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.1696, allocations: 87.77 kB / 430.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1698, allocations: 95.61 kB / 430.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1698, allocations: 23.94 kB / 430.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.1698, allocations: 20 kB / 430.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1699, allocations: 43.89 kB / 430.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.17, allocations: 103.5 kB / 430.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1704, allocations: 231.1 kB / 430.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1704, allocations: 4 kB / 430.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1704, allocations: 0 / 430.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1704, allocations: 0 / 430.6 MB, free: 0.5703 MB / 350.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.0009173/0.1713, allocations: 494.6 kB / 431.1 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1713, allocations: 11.97 kB / 431.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1714, allocations: 28.8 kB / 431.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3084/0.4798, allocations: 217.6 kB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.4799, allocations: 11.84 kB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.4799, allocations: 23.31 kB / 431.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.4804, allocations: 176.5 kB / 431.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4804, allocations: 3 kB / 431.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.4804, allocations: 9.344 kB / 431.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.4804, allocations: 3.781 kB / 431.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.4808, allocations: 154.3 kB / 431.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.482, allocations: 0.7361 MB / 432.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.4824, allocations: 154.6 kB / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.4826, allocations: 85.94 kB / 432.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4826, allocations: 5.062 kB / 432.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.4827, allocations: 32.5 kB / 432.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.4827, allocations: 1.5 kB / 432.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004961/0.4832, allocations: 187.4 kB / 432.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.4832, allocations: 54.47 kB / 432.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4833, allocations: 152.1 kB / 433.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4833, allocations: 32.64 kB / 433.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.4834, allocations: 134.6 kB / 433.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.4834, allocations: 56.83 kB / 433.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.4835, allocations: 30.38 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.4835, allocations: 327.3 kB / 433.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.4837, allocations: 48.25 kB / 433.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.4838, allocations: 73.84 kB / 433.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.484, allocations: 122.3 kB / 433.9 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.484, allocations: 3.281 kB / 433.9 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000335/0.4844, allocations: 180.1 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4844, allocations: 6.688 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4844, allocations: 1.281 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4844, allocations: 6.281 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4846, allocations: 39.89 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4846, allocations: 0.5938 kB / 434.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4848, allocations: 20.61 kB / 434.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.4848, allocations: 6.859 kB / 434.2 MB, free: 9.953 MB / 350.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 8.215e-05/0.4848, allocations: 132.8 kB / 434.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.4849, allocations: 9.141 kB / 434.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.4849, allocations: 16.5 kB / 434.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4849, allocations: 2.125 kB / 434.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4849, allocations: 0 / 434.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4849, allocations: 9 kB / 434.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4852, allocations: 272.9 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4852, allocations: 0 / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.4854, allocations: 35.89 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4854, allocations: 1.125 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4854, allocations: 3.719 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4854, allocations: 1.188 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4854, allocations: 4.641 kB / 434.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.4859, allocations: 299.8 kB / 434.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.4859, allocations: 91.7 kB / 435 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.486, allocations: 4.625 kB / 435 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4861, allocations: 9.984 kB / 435 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.4861, allocations: 12.23 kB / 435 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4862, allocations: 10.47 kB / 435.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.4862, allocations: 113.8 kB / 435.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4862, allocations: 0 / 435.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.4865, allocations: 51.11 kB / 435.2 MB, free: 9.305 MB / 350.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.0001007/0.4866, allocations: 100.4 kB / 435.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.4869, allocations: 127.2 kB / 435.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4869, allocations: 0 / 435.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4871, allocations: 61.22 kB / 435.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4874, allocations: 30.17 kB / 435.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.4883, allocations: 0.5188 MB / 436 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4885, allocations: 0.7252 MB / 436.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.4886, allocations: 9.25 kB / 436.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.4886, allocations: 15 kB / 436.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4886, allocations: 0 / 436.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Templates: time 0.005605/0.4942, allocations: 1.675 MB / 438.5 MB, free: 8.031 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50210]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.601752761751413]