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.001026/0.001026, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00196/0.00196, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.641 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 2.124e-06/2.124e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.766e-05/3.978e-05, allocations: 10.31 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002444/0.002484, allocations: 2.167 MB / 275.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003598, allocations: 0.5531 MB / 275.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.003692, allocations: 4 kB / 275.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003822, allocations: 31.7 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.003912, allocations: 63.42 kB / 275.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.004094, allocations: 55.86 kB / 276 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.004302, allocations: 238.9 kB / 276.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.004463, allocations: 57.77 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.004596, allocations: 131.8 kB / 276.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004706, allocations: 75.78 kB / 276.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.004741, allocations: 20 kB / 276.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.822e-05/0.004769, allocations: 20 kB / 276.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.004806, allocations: 43.89 kB / 276.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.00487, allocations: 79.83 kB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.005068, allocations: 159.4 kB / 276.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.005073, allocations: 0 / 276.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005074, allocations: 0 / 276.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.00508, allocations: 0 / 276.8 MB, free: 14.13 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.000581/0.005661, allocations: 0.5115 MB / 277.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.005701, allocations: 8.031 kB / 277.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.005764, allocations: 36.84 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.005968, allocations: 164.3 kB / 277.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.005992, allocations: 16.38 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.006024, allocations: 20.31 kB / 277.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.006273, allocations: 202.2 kB / 277.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.00628, allocations: 192 / 277.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.006299, allocations: 12.38 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.00631, allocations: 15.91 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.006427, allocations: 63.95 kB / 277.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.007208, allocations: 0.6645 MB / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.007407, allocations: 115 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.007496, allocations: 59.67 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.007508, allocations: 4 kB / 278.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.007532, allocations: 37.39 kB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.007534, allocations: 0 / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000233/0.007767, allocations: 129.8 kB / 278.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.007797, allocations: 59.34 kB / 278.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.0079, allocations: 197.2 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.007916, allocations: 29.7 kB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.00799, allocations: 183 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.00802, allocations: 55.52 kB / 279.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.008064, allocations: 43.36 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.008174, allocations: 0.4961 MB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.008219, allocations: 23.98 kB / 279.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.00828, allocations: 47.36 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.008378, allocations: 77.23 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008381, allocations: 0 / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000156/0.008537, allocations: 137.4 kB / 280.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.008552, allocations: 4 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008557, allocations: 0 / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.00857, allocations: 4.031 kB / 280.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.008718, allocations: 43.91 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.008725, allocations: 4 kB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.008773, allocations: 15.89 kB / 280.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008781, allocations: 4 kB / 280.2 MB, free: 10.43 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.605e-05/0.008857, allocations: 164.5 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.008883, allocations: 15.95 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.008914, allocations: 16.77 kB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.008918, allocations: 11.88 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.008922, allocations: 4 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008925, allocations: 0 / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.009088, allocations: 184.5 kB / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009089, allocations: 0 / 280.6 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.009229, allocations: 35.97 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009231, allocations: 0 / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.009244, allocations: 8 kB / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009246, allocations: 0 / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009247, allocations: 0 / 280.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.009493, allocations: 287.7 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.009512, allocations: 15.84 kB / 280.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.00953, allocations: 8 kB / 280.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.00961, allocations: 11.98 kB / 281 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.009653, allocations: 11.98 kB / 281 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.00966, allocations: 4 kB / 281 MB, free: 9.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.009717, allocations: 150.2 kB / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009717, allocations: 0 / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.009895, allocations: 47.89 kB / 281.2 MB, free: 9.41 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 9.474e-05/0.00999, allocations: 103.2 kB / 281.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01014, allocations: 89.95 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01014, allocations: 0 / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-05/0.0102, allocations: 51.61 kB / 281.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01044, allocations: 35.91 kB / 281.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.01127, allocations: 446.3 kB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.01131, allocations: 71.84 kB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.01136, allocations: 13.14 kB / 282 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.01139, allocations: 12.5 kB / 282 MB, free: 8.547 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01139, allocations: 0 / 282 MB, free: 8.547 MB / 266.7 MB Notification: Performance of Templates: time 0.003569/0.01496, allocations: 1.585 MB / 283.6 MB, free: 6.992 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[50204]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.95948299090378]