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.001071/0.001071, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001171/0.001171, allocations: 170.2 kB / 25.33 MB, free: 9.461 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.8917/0.8917, allocations: 158.6 MB / 187.2 MB, free: 2.945 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.352e-06/1.352e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.436e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002325/0.00235, allocations: 2.137 MB / 253.2 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.003345, allocations: 0.5696 MB / 253.8 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.00343, allocations: 7.938 kB / 253.8 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003546, allocations: 31.72 kB / 253.8 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.00363, allocations: 55.42 kB / 253.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.003803, allocations: 63.91 kB / 253.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004003, allocations: 242.8 kB / 254.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004148, allocations: 53.77 kB / 254.2 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004269, allocations: 131.8 kB / 254.3 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.004369, allocations: 75.77 kB / 254.4 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.004403, allocations: 20 kB / 254.4 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.487e-05/0.004428, allocations: 20 kB / 254.4 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.004459, allocations: 47.83 kB / 254.5 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.004516, allocations: 75.83 kB / 254.6 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004676, allocations: 151.5 kB / 254.7 MB, free: 3.828 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004679, allocations: 3.984 kB / 254.7 MB, free: 3.824 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00468, allocations: 4 kB / 254.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004684, allocations: 0 / 254.7 MB, free: 3.82 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.0004957/0.00518, allocations: 0.5153 MB / 255.2 MB, free: 3.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005215, allocations: 15.92 kB / 255.2 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.005272, allocations: 36.84 kB / 255.3 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.005448, allocations: 160.3 kB / 255.4 MB, free: 3.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.005471, allocations: 20.38 kB / 255.5 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.005501, allocations: 16.38 kB / 255.5 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.00575, allocations: 198.3 kB / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005758, allocations: 192 / 255.7 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.005774, allocations: 4.375 kB / 255.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005783, allocations: 7.938 kB / 255.7 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.005896, allocations: 79.89 kB / 255.8 MB, free: 2.695 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.006588, allocations: 0.649 MB / 256.4 MB, free: 1.992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.00676, allocations: 115 kB / 256.5 MB, free: 1.867 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.833e-05/0.006848, allocations: 67.66 kB / 256.6 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006858, allocations: 4 kB / 256.6 MB, free: 1.793 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.006883, allocations: 41.39 kB / 256.6 MB, free: 1.742 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.006884, allocations: 0 / 256.6 MB, free: 1.742 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002439/0.007128, allocations: 129.8 kB / 256.8 MB, free: 1.609 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.00716, allocations: 55.41 kB / 256.8 MB, free: 1.543 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.007258, allocations: 193.9 kB / 257 MB, free: 1.336 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.007272, allocations: 29.7 kB / 257 MB, free: 1.301 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.007338, allocations: 183 kB / 257.2 MB, free: 1.117 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.007367, allocations: 55.52 kB / 257.3 MB, free: 1.062 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.007408, allocations: 43.31 kB / 257.3 MB, free: 1.012 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.007516, allocations: 0.4922 MB / 257.8 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.007558, allocations: 31.98 kB / 257.8 MB, free: 488 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.007612, allocations: 47.34 kB / 257.9 MB, free: 432 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.007708, allocations: 90.64 kB / 258 MB, free: 336 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00771, allocations: 0 / 258 MB, free: 336 kB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001421/0.007852, allocations: 121.6 kB / 258.1 MB, free: 208 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007864, allocations: 8 kB / 258.1 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.00787, allocations: 7.922 kB / 258.1 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.007882, allocations: 0 / 258.1 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.008017, allocations: 35.98 kB / 258.1 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.008022, allocations: 4.031 kB / 258.1 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.008066, allocations: 15.94 kB / 258.2 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.008075, allocations: 8 kB / 258.2 MB, free: 128 kB / 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 8.644e-05/0.008162, allocations: 168.4 kB / 258.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.008185, allocations: 11.95 kB / 258.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.008213, allocations: 20.78 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.008216, allocations: 0 / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.008223, allocations: 3.984 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008226, allocations: 4 kB / 258.4 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.008456, allocations: 188.5 kB / 258.6 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008458, allocations: 4 kB / 258.6 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.008594, allocations: 31.98 kB / 258.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008596, allocations: 0 / 258.6 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.008608, allocations: 7.984 kB / 258.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.008611, allocations: 4 kB / 258.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.008612, allocations: 0 / 258.6 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.008839, allocations: 287.7 kB / 258.9 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.008854, allocations: 15.84 kB / 258.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.008874, allocations: 4 kB / 258.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.00894, allocations: 15.98 kB / 258.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.008975, allocations: 7.984 kB / 258.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.008981, allocations: 4 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.009033, allocations: 152.1 kB / 259.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009033, allocations: 0 / 259.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.009204, allocations: 47.89 kB / 259.1 MB, free: 15.1 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 6.666e-05/0.009271, allocations: 99.23 kB / 259.2 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.009404, allocations: 84.11 kB / 259.3 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009406, allocations: 4.062 kB / 259.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.009452, allocations: 47.61 kB / 259.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.009651, allocations: 23.92 kB / 259.4 MB, free: 14.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.01039, allocations: 453.3 kB / 259.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.01043, allocations: 75.83 kB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.01047, allocations: 13.14 kB / 259.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.01052, allocations: 16.5 kB / 259.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01052, allocations: 0 / 259.9 MB, free: 14.24 MB / 250.7 MB Notification: Performance of Templates: time 0.003528/0.01405, allocations: 1.638 MB / 261.6 MB, free: 12.61 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 -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: 3.044124994892627]