Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9529/0.9529, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.309e-05, allocations: 2.312 kB / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.006092/0.006115, allocations: 2.14 MB / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000911/0.007026, allocations: 0.5375 MB / 271.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.007139, allocations: 4 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.007277, allocations: 35.7 kB / 271.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.007399, allocations: 59.42 kB / 271.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.007605, allocations: 51.92 kB / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.01096, allocations: 238.9 kB / 271.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.01113, allocations: 57.7 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.01133, allocations: 135.8 kB / 271.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.01145, allocations: 71.78 kB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.01148, allocations: 20 kB / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.01151, allocations: 28 kB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.01155, allocations: 43.83 kB / 271.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.01162, allocations: 67.89 kB / 271.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.01183, allocations: 163.5 kB / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01183, allocations: 0 / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01184, allocations: 0 / 272 MB, free: 2.555 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.01184, allocations: 0 / 272 MB, free: 2.555 MB / 250.7 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.000568/0.01241, allocations: 0.5115 MB / 272.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.01245, allocations: 8.922 kB / 272.6 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.01251, allocations: 36.8 kB / 272.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.01269, allocations: 172.3 kB / 272.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.01271, allocations: 12.38 kB / 272.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.01274, allocations: 20.38 kB / 272.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.01297, allocations: 186.2 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01298, allocations: 192 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.013, allocations: 8.375 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.013, allocations: 11.94 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.01309, allocations: 55.89 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.01705, allocations: 0.6377 MB / 273.7 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.01725, allocations: 114.2 kB / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.01733, allocations: 55.66 kB / 273.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.01734, allocations: 0 / 273.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.01736, allocations: 37.39 kB / 273.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.01737, allocations: 0 / 273.9 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002422/0.01761, allocations: 109.9 kB / 274 MB, free: 448 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.01764, allocations: 55.41 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01775, allocations: 201.8 kB / 274.3 MB, free: 160 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01777, allocations: 33.64 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.01786, allocations: 183 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01789, allocations: 55.56 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.01795, allocations: 39.31 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.01808, allocations: 0.4922 MB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.01811, allocations: 19.98 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.01816, allocations: 54.59 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.01823, allocations: 66.31 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01823, allocations: 0 / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001229/0.01835, allocations: 113.5 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01836, allocations: 12.02 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01837, allocations: 4 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01838, allocations: 0 / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.01852, allocations: 47.92 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01852, allocations: 3.938 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.01859, allocations: 11.94 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.0186, allocations: 4 kB / 275.4 MB, free: 14.98 MB / 266.7 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 0.0003759/0.01897, allocations: 168.5 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.01902, allocations: 15.91 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.01905, allocations: 16.78 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01906, allocations: 4 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01906, allocations: 3.984 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01907, allocations: 3.984 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.01929, allocations: 153.1 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.0193, allocations: 3.938 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.01949, allocations: 39.92 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01949, allocations: 0 / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.0195, allocations: 4 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.01951, allocations: 3.984 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01951, allocations: 4 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.01978, allocations: 263.8 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.01981, allocations: 23.88 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01984, allocations: 4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01996, allocations: 11.94 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.02, allocations: 11.97 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.02001, allocations: 4 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.02009, allocations: 147.1 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02009, allocations: 0 / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.02037, allocations: 51.89 kB / 276.3 MB, free: 14 MB / 266.7 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.000122/0.0205, allocations: 95.25 kB / 276.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.02065, allocations: 75.56 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.02066, allocations: 4 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.02072, allocations: 46.98 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.02105, allocations: 27.86 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.02205, allocations: 450.3 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.0221, allocations: 79.77 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.02216, allocations: 5.156 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.02229, allocations: 106.2 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.02229, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Templates: time 0.00435/0.02664, allocations: 1.694 MB / 278.9 MB, free: 11.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time filterSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff.ref.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.206821398809552]