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.001435/0.001435, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.002058/0.002058, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9724/0.9724, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.38e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002474/0.002497, allocations: 2.167 MB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.003376, allocations: 0.5609 MB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003476, allocations: 4 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.003604, allocations: 31.7 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.335e-05/0.003697, allocations: 59.44 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003878, allocations: 55.91 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004097, allocations: 234.9 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.004238, allocations: 57.77 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.004382, allocations: 135.7 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.00449, allocations: 71.78 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004524, allocations: 24 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.00455, allocations: 20 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.004585, allocations: 47.83 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.004645, allocations: 75.89 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004824, allocations: 163.4 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004826, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004827, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004831, allocations: 0 / 276.7 MB, free: 13.82 MB / 266.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.0005366/0.005368, allocations: 0.5115 MB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.005403, allocations: 12.03 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.005464, allocations: 32.84 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005654, allocations: 167 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.005679, allocations: 16.38 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.005708, allocations: 20.36 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.005949, allocations: 206.1 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005959, allocations: 192 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.005976, allocations: 16.31 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.005987, allocations: 7.938 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.006094, allocations: 67.94 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.006844, allocations: 0.6568 MB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.00703, allocations: 111.1 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.007115, allocations: 67.59 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.007125, allocations: 4 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.007149, allocations: 37.64 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.007151, allocations: 0 / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002453/0.007396, allocations: 128.2 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.007431, allocations: 55.41 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.007538, allocations: 201.2 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.007552, allocations: 25.7 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.007624, allocations: 187 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.007654, allocations: 59.52 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.007699, allocations: 35.38 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007813, allocations: 0.5 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.007856, allocations: 23.98 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.413e-05/0.00791, allocations: 51.34 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.943e-05/0.00801, allocations: 77.86 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008012, allocations: 0 / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001511/0.008163, allocations: 133.4 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.008176, allocations: 8 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008181, allocations: 7.969 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.008195, allocations: 0 / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.008336, allocations: 39.92 kB / 280.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008343, allocations: 4 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.008393, allocations: 19.88 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.008402, allocations: 4 kB / 280.1 MB, free: 10.12 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 7.35e-05/0.008475, allocations: 160.5 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.0085, allocations: 19.95 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.008527, allocations: 12.78 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.00853, allocations: 4 kB / 280.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.008534, allocations: 4 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.008538, allocations: 3.984 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.008693, allocations: 180.5 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008694, allocations: 0 / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.008812, allocations: 39.91 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.008814, allocations: 0 / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.008827, allocations: 8 kB / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008829, allocations: 0 / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.00883, allocations: 0 / 280.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.009066, allocations: 283.8 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.009085, allocations: 19.84 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.009101, allocations: 4 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.009172, allocations: 11.98 kB / 280.9 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.009209, allocations: 11.98 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.009216, allocations: 7.938 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.009274, allocations: 150.1 kB / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009274, allocations: 0 / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.009452, allocations: 47.89 kB / 281.1 MB, free: 9.105 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.785e-05/0.00953, allocations: 103.2 kB / 281.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.009677, allocations: 85.94 kB / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009679, allocations: 0 / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.897e-05/0.009728, allocations: 51.59 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.009955, allocations: 39.84 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.01074, allocations: 454.2 kB / 281.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.01078, allocations: 71.84 kB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.01083, allocations: 9.141 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.01087, allocations: 16.5 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01087, allocations: 0 / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of Templates: time 0.003443/0.01431, allocations: 1.645 MB / 283.5 MB, free: 6.613 MB / 266.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 -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,rangeDelta=0.001) [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.715495622251183]