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.00106/0.00106, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.001003/0.001003, allocations: 141.1 kB / 24.54 MB, free: 40 kB / 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.9696/0.9696, allocations: 173.3 MB / 201.1 MB, free: 9.312 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.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.585e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002176/0.002192, allocations: 2.156 MB / 270.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.002914, allocations: 0.5415 MB / 270.7 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.003006, allocations: 7.938 kB / 270.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.003142, allocations: 31.7 kB / 270.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.003222, allocations: 55.42 kB / 270.8 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.003397, allocations: 55.92 kB / 270.8 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.003593, allocations: 234.9 kB / 271.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.003742, allocations: 61.77 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.003857, allocations: 131.8 kB / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.003964, allocations: 75.78 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.003994, allocations: 20 kB / 271.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.00402, allocations: 20 kB / 271.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.004053, allocations: 51.77 kB / 271.4 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.004117, allocations: 71.88 kB / 271.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.004293, allocations: 159.5 kB / 271.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004296, allocations: 0 / 271.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004297, allocations: 0 / 271.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.004301, allocations: 0 / 271.6 MB, free: 2.73 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.0005909/0.004892, allocations: 0.5115 MB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.004934, allocations: 8.922 kB / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.004997, allocations: 36.8 kB / 272.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.005211, allocations: 168.3 kB / 272.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.005236, allocations: 12.38 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.005273, allocations: 20.38 kB / 272.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.00552, allocations: 202.2 kB / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.005528, allocations: 192 / 272.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.005546, allocations: 8.375 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.005557, allocations: 7.938 kB / 272.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.005666, allocations: 75.84 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.006384, allocations: 0.6684 MB / 273.4 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.006562, allocations: 107.1 kB / 273.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.006646, allocations: 63.67 kB / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.006657, allocations: 0 / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.006683, allocations: 41.33 kB / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.011e-06/0.006684, allocations: 0 / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002269/0.006911, allocations: 129.9 kB / 273.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.006935, allocations: 51.41 kB / 273.7 MB, free: 468 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.007039, allocations: 201.9 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007051, allocations: 25.7 kB / 274 MB, free: 216 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.007123, allocations: 183 kB / 274.1 MB, free: 28 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.007445, allocations: 51.77 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.00749, allocations: 39.31 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.007603, allocations: 0.4999 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.007643, allocations: 19.98 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.007702, allocations: 55.3 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.0078, allocations: 82.17 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007802, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001546/0.007957, allocations: 129.5 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.007973, allocations: 4 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.00798, allocations: 4 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.007997, allocations: 0 / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.008136, allocations: 43.97 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.008143, allocations: 0 / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.008188, allocations: 11.95 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.008196, allocations: 8.031 kB / 275.1 MB, free: 15.05 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 8.286e-05/0.008279, allocations: 176.3 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.008306, allocations: 19.91 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.008341, allocations: 24.75 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008343, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008348, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008351, allocations: 0 / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.008508, allocations: 184.5 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008509, allocations: 0 / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.008617, allocations: 39.91 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.008618, allocations: 4 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.00863, allocations: 4 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008631, allocations: 0 / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008632, allocations: 0 / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.008875, allocations: 287.8 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.008891, allocations: 15.89 kB / 275.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.008912, allocations: 7.984 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.008976, allocations: 8 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.009014, allocations: 7.984 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.00902, allocations: 8 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.009072, allocations: 150.2 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009072, allocations: 0 / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.00924, allocations: 51.84 kB / 276 MB, free: 14.02 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 7.039e-05/0.009311, allocations: 107.2 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.00945, allocations: 83.58 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009452, allocations: 4 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.009498, allocations: 43.42 kB / 276.3 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.0002026/0.0097, allocations: 39.5 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.01044, allocations: 450.2 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.01048, allocations: 71.84 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.053e-05/0.01052, allocations: 13.14 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.01056, allocations: 20.5 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01056, allocations: 3.938 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.003078/0.01364, allocations: 1.557 MB / 278.4 MB, free: 11.59 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.2587945931591094]