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.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.001498/0.001498, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001978/0.001978, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.821e-05, allocations: 10.11 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003553/0.003591, allocations: 2.005 MB / 252.4 MB, free: 5.797 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.004743, allocations: 0.5503 MB / 252.9 MB, free: 5.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004853, allocations: 7.938 kB / 252.9 MB, free: 5.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.005003, allocations: 35.64 kB / 253 MB, free: 5.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.005126, allocations: 55.48 kB / 253 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.005342, allocations: 59.91 kB / 253.1 MB, free: 5.082 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.005668, allocations: 234.9 kB / 253.3 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.005839, allocations: 57.77 kB / 253.4 MB, free: 4.797 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.006038, allocations: 131.8 kB / 253.5 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.006185, allocations: 79.72 kB / 253.6 MB, free: 4.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.00623, allocations: 20 kB / 253.6 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.00627, allocations: 20 kB / 253.6 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.006326, allocations: 51.81 kB / 253.7 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.006427, allocations: 71.83 kB / 253.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.006762, allocations: 239.3 kB / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.006766, allocations: 0 / 254 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.00677, allocations: 4 kB / 254 MB, free: 4.191 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006775, allocations: 0 / 254 MB, free: 4.191 MB / 234.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.0008591/0.007634, allocations: 425.4 kB / 254.4 MB, free: 3.746 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.00768, allocations: 19.92 kB / 254.4 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.007776, allocations: 32.84 kB / 254.4 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.008096, allocations: 165.4 kB / 254.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.008121, allocations: 12.38 kB / 254.6 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.008171, allocations: 20.38 kB / 254.6 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.008621, allocations: 225.6 kB / 254.9 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.008631, allocations: 192 / 254.9 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.008658, allocations: 12.38 kB / 254.9 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.00867, allocations: 7.938 kB / 254.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.00901, allocations: 143.8 kB / 255 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.0103, allocations: 0.6225 MB / 255.6 MB, free: 2.406 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.01073, allocations: 146.6 kB / 255.8 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.01093, allocations: 88.81 kB / 255.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01095, allocations: 4 kB / 255.9 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.01099, allocations: 34.5 kB / 255.9 MB, free: 2.117 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01099, allocations: 0 / 255.9 MB, free: 2.117 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005387/0.01153, allocations: 197.8 kB / 256.1 MB, free: 1.918 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.01158, allocations: 51.41 kB / 256.1 MB, free: 1.855 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.01176, allocations: 157.9 kB / 256.3 MB, free: 1.688 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.01178, allocations: 25.7 kB / 256.3 MB, free: 1.656 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01191, allocations: 136.2 kB / 256.5 MB, free: 1.516 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.01196, allocations: 51.59 kB / 256.5 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.01203, allocations: 33.72 kB / 256.5 MB, free: 1.426 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.01222, allocations: 326.7 kB / 256.9 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.01237, allocations: 55.97 kB / 256.9 MB, free: 1.043 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.01252, allocations: 77.61 kB / 257 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.01279, allocations: 121.1 kB / 257.1 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.01279, allocations: 4 kB / 257.1 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003687/0.01316, allocations: 181.4 kB / 257.3 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01318, allocations: 4 kB / 257.3 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01319, allocations: 4.031 kB / 257.3 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01321, allocations: 4 kB / 257.3 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.01345, allocations: 43.97 kB / 257.3 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01345, allocations: 0 / 257.3 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.01356, allocations: 19.88 kB / 257.4 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01357, allocations: 11.94 kB / 257.4 MB, free: 0.5664 MB / 234.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.0001274/0.0137, allocations: 121.8 kB / 257.5 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.01375, allocations: 19.95 kB / 257.5 MB, free: 428 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.01379, allocations: 12.78 kB / 257.5 MB, free: 412 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01379, allocations: 4 kB / 257.5 MB, free: 408 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.0138, allocations: 4 kB / 257.5 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.0138, allocations: 3.984 kB / 257.5 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.01407, allocations: 181.1 kB / 257.7 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01408, allocations: 0 / 257.7 MB, free: 188 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.0143, allocations: 39.91 kB / 257.8 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01431, allocations: 3.984 kB / 257.8 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01433, allocations: 8 kB / 257.8 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01433, allocations: 0 / 257.8 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01433, allocations: 0 / 257.8 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.01488, allocations: 307.3 kB / 258.1 MB, free: 15.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01491, allocations: 11.91 kB / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.01494, allocations: 8.031 kB / 258.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.01508, allocations: 8 kB / 258.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.01515, allocations: 15.97 kB / 258.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.01516, allocations: 4 kB / 258.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01527, allocations: 104.3 kB / 258.2 MB, free: 15.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01527, allocations: 3.938 kB / 258.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000289/0.01555, allocations: 51.89 kB / 258.3 MB, free: 15.61 MB / 250.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.0001379/0.01569, allocations: 103.2 kB / 258.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.01602, allocations: 119.8 kB / 258.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01602, allocations: 0 / 258.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.01617, allocations: 59.97 kB / 258.5 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.0165, allocations: 31.92 kB / 258.6 MB, free: 15.3 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01753, allocations: 447.8 kB / 259 MB, free: 14.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.01768, allocations: 116.1 kB / 259.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.11e-05/0.01776, allocations: 17.12 kB / 259.1 MB, free: 14.69 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.01781, allocations: 16.5 kB / 259.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01781, allocations: 0 / 259.2 MB, free: 14.67 MB / 250.7 MB Notification: Performance of Templates: time 0.004993/0.0228, allocations: 1.557 MB / 260.7 MB, free: 13.12 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" 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 [Calling sys.exit(0), Time elapsed: 4.950530395028181]