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.001179/0.001179, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001885/0.001885, allocations: 167.4 kB / 25.69 MB, free: 8.445 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 0.9025/0.9025, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.223e-06/1.223e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.401e-05, allocations: 10.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002355/0.002379, allocations: 2.169 MB / 253.8 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.00318, allocations: 0.5773 MB / 254.3 MB, free: 4.438 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.003268, allocations: 7.938 kB / 254.3 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.003391, allocations: 35.7 kB / 254.4 MB, free: 4.395 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.003474, allocations: 55.42 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.003636, allocations: 55.92 kB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.003821, allocations: 238.8 kB / 254.7 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.003947, allocations: 62.41 kB / 254.8 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.004071, allocations: 135.8 kB / 254.9 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004176, allocations: 71.78 kB / 255 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.004203, allocations: 20 kB / 255 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.004228, allocations: 24 kB / 255 MB, free: 3.746 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.004259, allocations: 43.83 kB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.004317, allocations: 75.83 kB / 255.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.004481, allocations: 159.5 kB / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004484, allocations: 0 / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004484, allocations: 0 / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.004488, allocations: 4 kB / 255.3 MB, free: 3.469 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.0004298/0.004918, allocations: 392.1 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.00495, allocations: 11.98 kB / 255.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.005, allocations: 32.91 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005155, allocations: 149.4 kB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.005176, allocations: 12.38 kB / 255.9 MB, free: 2.832 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.005202, allocations: 24.38 kB / 255.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.005393, allocations: 186.2 kB / 256.1 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005401, allocations: 192 / 256.1 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.005415, allocations: 8.375 kB / 256.1 MB, free: 2.598 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.005422, allocations: 7.938 kB / 256.1 MB, free: 2.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.005489, allocations: 51.86 kB / 256.2 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.006071, allocations: 0.5128 MB / 256.7 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.006206, allocations: 86.53 kB / 256.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.006263, allocations: 48.78 kB / 256.8 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.006273, allocations: 4 kB / 256.8 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.006295, allocations: 34.56 kB / 256.8 MB, free: 1.801 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.006296, allocations: 4 kB / 256.8 MB, free: 1.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001522/0.006448, allocations: 97.84 kB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.006474, allocations: 55.41 kB / 257 MB, free: 1.629 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.006555, allocations: 142.6 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.006569, allocations: 29.7 kB / 257.2 MB, free: 1.441 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.006622, allocations: 132.2 kB / 257.3 MB, free: 1.309 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.006649, allocations: 55.52 kB / 257.3 MB, free: 1.254 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.006685, allocations: 29.7 kB / 257.4 MB, free: 1.219 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.006758, allocations: 322.8 kB / 257.7 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.006781, allocations: 19.98 kB / 257.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.006816, allocations: 37.69 kB / 257.7 MB, free: 0.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.006881, allocations: 69.45 kB / 257.8 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006883, allocations: 0 / 257.8 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001033/0.006986, allocations: 97.59 kB / 257.9 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.006999, allocations: 7.438 kB / 257.9 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007004, allocations: 0 / 257.9 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007016, allocations: 4 kB / 257.9 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.007199, allocations: 51.75 kB / 258 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.007202, allocations: 4.031 kB / 258 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.007242, allocations: 11.95 kB / 258 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.007248, allocations: 4 kB / 258 MB, free: 0.582 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 6.281e-05/0.007311, allocations: 121.7 kB / 258.1 MB, free: 464 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.007336, allocations: 19.98 kB / 258.1 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.00736, allocations: 16.77 kB / 258.1 MB, free: 424 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.007363, allocations: 4 kB / 258.1 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.007365, allocations: 0 / 258.1 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007368, allocations: 0 / 258.1 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.007495, allocations: 125.7 kB / 258.3 MB, free: 276 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.007496, allocations: 4 kB / 258.3 MB, free: 272 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.007625, allocations: 43.95 kB / 258.3 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007627, allocations: 0 / 258.3 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.007635, allocations: 4 kB / 258.3 MB, free: 224 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.007637, allocations: 4 kB / 258.3 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007638, allocations: 3.938 kB / 258.3 MB, free: 216 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.007816, allocations: 203.4 kB / 258.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.007829, allocations: 7.953 kB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.007844, allocations: 8 kB / 258.5 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.007907, allocations: 11.94 kB / 258.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.00794, allocations: 16.02 kB / 258.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.007947, allocations: 4 kB / 258.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.475e-05/0.007972, allocations: 29.86 kB / 258.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007972, allocations: 0 / 258.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.008129, allocations: 51.84 kB / 258.7 MB, free: 15.87 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 8.665e-05/0.008215, allocations: 88.34 kB / 258.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008317, allocations: 65.36 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.008323, allocations: 4 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.008363, allocations: 47.64 kB / 258.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008533, allocations: 27.86 kB / 258.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.009182, allocations: 399.8 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.963e-05/0.009222, allocations: 71.83 kB / 259.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.009268, allocations: 13.48 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.009359, allocations: 87.23 kB / 259.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00936, allocations: 0 / 259.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of Templates: time 0.003453/0.01281, allocations: 1.835 MB / 261.3 MB, free: 13.2 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] 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","",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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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/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.ref.mat", vars={"L.i", "C2.v", "C1.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9347661319188774]