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.001026/0.001026, allocations: 82.28 kB / 22.21 MB, free: 2.289 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.001383/0.001383, allocations: 147.1 kB / 25.6 MB, free: 8.598 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.9602/0.9602, allocations: 173.4 MB / 202.2 MB, free: 8.285 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 8.12e-07/8.12e-07, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.819e-06/1.063e-05, allocations: 3.281 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00209/0.0021, allocations: 2.136 MB / 271.3 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.002766, allocations: 0.5252 MB / 271.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.002864, allocations: 4 kB / 271.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.002978, allocations: 29.94 kB / 271.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003082, allocations: 59.42 kB / 271.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.003242, allocations: 55.91 kB / 272 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.003467, allocations: 243.6 kB / 272.2 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.003597, allocations: 49.78 kB / 272.3 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.003741, allocations: 132.8 kB / 272.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.003833, allocations: 75.78 kB / 272.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.00386, allocations: 20.78 kB / 272.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.003883, allocations: 24 kB / 272.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.003915, allocations: 45.08 kB / 272.6 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.003967, allocations: 71.88 kB / 272.7 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.004134, allocations: 163.5 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-06/0.004136, allocations: 0 / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004136, allocations: 0.9375 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.00414, allocations: 0 / 272.8 MB, free: 6.156 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.0004367/0.004576, allocations: 0.5102 MB / 273.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.004606, allocations: 12.02 kB / 273.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.004657, allocations: 36.8 kB / 273.4 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.004804, allocations: 168.8 kB / 273.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.004821, allocations: 20.36 kB / 273.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.004845, allocations: 20.38 kB / 273.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.005016, allocations: 194.2 kB / 273.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005023, allocations: 192 / 273.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.005037, allocations: 8.375 kB / 273.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005043, allocations: 7.938 kB / 273.8 MB, free: 5.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.00511, allocations: 51.91 kB / 273.8 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.005719, allocations: 0.6416 MB / 274.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.005856, allocations: 103 kB / 274.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.005914, allocations: 59.66 kB / 274.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.005923, allocations: 0 / 274.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005943, allocations: 41.39 kB / 274.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.005944, allocations: 0 / 274.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001644/0.006109, allocations: 113.5 kB / 274.8 MB, free: 4.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.006132, allocations: 55.41 kB / 274.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.006216, allocations: 204.5 kB / 275 MB, free: 3.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.006228, allocations: 25.7 kB / 275.1 MB, free: 3.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.006292, allocations: 183 kB / 275.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.006318, allocations: 51.56 kB / 275.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.00636, allocations: 43.3 kB / 275.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006483, allocations: 0.4961 MB / 275.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.006509, allocations: 19.98 kB / 275.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.006545, allocations: 43.34 kB / 275.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.006621, allocations: 77.28 kB / 276 MB, free: 2.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006623, allocations: 0 / 276 MB, free: 2.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001444/0.006767, allocations: 113.6 kB / 276.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.006777, allocations: 4 kB / 276.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.00678, allocations: 0 / 276.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.006787, allocations: 4 kB / 276.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.0069, allocations: 43.91 kB / 276.1 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006903, allocations: 7.969 kB / 276.1 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.006946, allocations: 11.95 kB / 276.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.006953, allocations: 4 kB / 276.2 MB, free: 2.582 MB / 250.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.799e-05/0.007021, allocations: 168.5 kB / 276.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.007046, allocations: 15.91 kB / 276.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.007069, allocations: 16.77 kB / 276.3 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007072, allocations: 4 kB / 276.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007074, allocations: 0 / 276.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007076, allocations: 0 / 276.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.00721, allocations: 153.1 kB / 276.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.007212, allocations: 15.88 kB / 276.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.007313, allocations: 39.97 kB / 276.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007315, allocations: 0 / 276.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.007323, allocations: 4 kB / 276.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007324, allocations: 0 / 276.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007324, allocations: 0 / 276.6 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.007508, allocations: 267.8 kB / 276.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.007522, allocations: 15.83 kB / 276.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.007537, allocations: 8 kB / 276.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.007605, allocations: 11.98 kB / 276.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.007631, allocations: 11.98 kB / 276.9 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.007637, allocations: 4 kB / 276.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.00775, allocations: 154.6 kB / 277 MB, free: 1.656 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00775, allocations: 0 / 277 MB, free: 1.656 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007917, allocations: 51.84 kB / 277.1 MB, free: 1.605 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.44e-05/0.007982, allocations: 95.25 kB / 277.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.977e-05/0.008082, allocations: 77.83 kB / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008083, allocations: 4.062 kB / 277.2 MB, free: 1.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.008124, allocations: 51.59 kB / 277.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.008314, allocations: 30.67 kB / 277.3 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.008929, allocations: 442.3 kB / 277.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.008969, allocations: 79.77 kB / 277.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.009012, allocations: 13.14 kB / 277.9 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.009094, allocations: 94.19 kB / 277.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009095, allocations: 0 / 277.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of Templates: time 0.003159/0.01225, allocations: 1.742 MB / 279.7 MB, free: 14.96 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.0078225038014352]