Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001195/0.001195, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.002902, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001059/0.001059, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002407, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.133, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.398e-05, allocations: 5.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002104/0.002118, allocations: 2.225 MB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.002714, allocations: 0.5802 MB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.002785, allocations: 3.938 kB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.51e-05/0.00285, allocations: 27.72 kB / 247.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.002924, allocations: 59.48 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.003033, allocations: 47.92 kB / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.003229, allocations: 246.9 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003358, allocations: 58.42 kB / 248 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.003504, allocations: 143.8 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003621, allocations: 71.78 kB / 248.2 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.003654, allocations: 20 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.003681, allocations: 24 kB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.003713, allocations: 31.88 kB / 248.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.003762, allocations: 63.88 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.003929, allocations: 147.5 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.00394, allocations: 0 / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003941, allocations: 0 / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.003951, allocations: 0 / 248.4 MB, free: 10.45 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.0005398/0.00449, allocations: 435.7 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.004521, allocations: 8.031 kB / 248.9 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.004568, allocations: 28.91 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.004728, allocations: 149.5 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.004752, allocations: 16.38 kB / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.004782, allocations: 16.38 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.004988, allocations: 194.2 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.004998, allocations: 192 / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.005015, allocations: 12.38 kB / 249.3 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.005024, allocations: 11.94 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.005089, allocations: 51.84 kB / 249.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.005672, allocations: 0.5167 MB / 249.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.005806, allocations: 86.52 kB / 250 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.005859, allocations: 40.86 kB / 250 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.00587, allocations: 4 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.005895, allocations: 38.55 kB / 250 MB, free: 8.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.005897, allocations: 8 kB / 250 MB, free: 8.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001487/0.006046, allocations: 93.61 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.00607, allocations: 51.41 kB / 250.2 MB, free: 8.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.006148, allocations: 153.3 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006162, allocations: 25.7 kB / 250.4 MB, free: 8.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.006216, allocations: 132.2 kB / 250.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.006245, allocations: 51.53 kB / 250.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.006283, allocations: 33.69 kB / 250.6 MB, free: 8.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.006361, allocations: 326.8 kB / 250.9 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.006385, allocations: 16 kB / 250.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.006427, allocations: 33.69 kB / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/0.0065, allocations: 79.89 kB / 251 MB, free: 7.695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006502, allocations: 0 / 251 MB, free: 7.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.641e-05/0.006599, allocations: 93.5 kB / 251.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.006611, allocations: 4 kB / 251.1 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006616, allocations: 4 kB / 251.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.00663, allocations: 3.984 kB / 251.1 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.006832, allocations: 54.55 kB / 251.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006837, allocations: 3.984 kB / 251.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.006877, allocations: 15.92 kB / 251.2 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.006885, allocations: 8 kB / 251.2 MB, free: 7.508 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.943e-05/0.006954, allocations: 121.7 kB / 251.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.006976, allocations: 11.98 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.007, allocations: 12.78 kB / 251.3 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.007003, allocations: 4 kB / 251.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007005, allocations: 0 / 251.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.007009, allocations: 7.922 kB / 251.4 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.007138, allocations: 125.7 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007138, allocations: 4 kB / 251.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.007262, allocations: 43.97 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.007276, allocations: 15.88 kB / 251.5 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007278, allocations: 4 kB / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007286, allocations: 0 / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007287, allocations: 0 / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007289, allocations: 4 kB / 251.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.007469, allocations: 211.4 kB / 251.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.007482, allocations: 0 / 251.8 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.007545, allocations: 19.98 kB / 251.8 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.007578, allocations: 7.984 kB / 251.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.007582, allocations: 0 / 251.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.007607, allocations: 32.83 kB / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007607, allocations: 0 / 251.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.007749, allocations: 51.84 kB / 251.9 MB, free: 6.797 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.189e-05/0.007831, allocations: 80.36 kB / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.007938, allocations: 74.17 kB / 252 MB, free: 6.637 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.007946, allocations: 8.094 kB / 252 MB, free: 6.629 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.007991, allocations: 40.83 kB / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.008267, allocations: 326.7 kB / 252.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.009946, allocations: 413.3 kB / 252.8 MB, free: 5.766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.009994, allocations: 75.83 kB / 252.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.01004, allocations: 5.5 kB / 252.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01014, allocations: 91.34 kB / 253 MB, free: 5.578 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01014, allocations: 0 / 253 MB, free: 5.578 MB / 250.7 MB Notification: Performance of Templates: time 0.003803/0.01394, allocations: 1.987 MB / 254.9 MB, free: 3.641 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50234]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.576865216717124]