Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.000904/0.000904, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001/0.001, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.266/0.266, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.914e-05, allocations: 3.781 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001128/0.001147, allocations: 0.5352 MB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.003654, allocations: 2.129 MB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.00367, allocations: 4 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.003684, allocations: 3.938 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.129e-05/0.003706, allocations: 0 / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.004667, allocations: 350.5 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.004708, allocations: 11.98 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.004742, allocations: 0 / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.004772, allocations: 4 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.01674, allocations: 4.868 MB / 333.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.01676, allocations: 0 / 333.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.01688, allocations: 4 kB / 333.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.01689, allocations: 0 / 333.2 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.01691, allocations: 4.625 kB / 333.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.01704, allocations: 15.92 kB / 333.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01705, allocations: 0 / 333.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01705, allocations: 0 / 333.2 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.01705, allocations: 0 / 333.2 MB, free: 0.9062 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002401/0.0173, allocations: 225 kB / 333.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.01734, allocations: 8.031 kB / 333.4 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.01753, allocations: 96.14 kB / 333.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.01765, allocations: 181.1 kB / 333.7 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.0177, allocations: 150.9 kB / 333.8 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.01774, allocations: 150.9 kB / 334 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.01782, allocations: 101.5 kB / 334.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.01785, allocations: 79.22 kB / 334.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/0.01791, allocations: 158.5 kB / 334.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.01795, allocations: 154.6 kB / 334.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.01801, allocations: 158.5 kB / 334.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.01822, allocations: 353.3 kB / 335 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.0183, allocations: 169.1 kB / 335.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.01833, allocations: 84.14 kB / 335.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01835, allocations: 75.28 kB / 335.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.0184, allocations: 105.8 kB / 335.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.764e-06/0.0184, allocations: 0 / 335.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.107e-05/0.01847, allocations: 33.64 kB / 335.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.01856, allocations: 182 kB / 335.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.01864, allocations: 102.7 kB / 335.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.01865, allocations: 29.7 kB / 335.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.01869, allocations: 80.14 kB / 335.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.01869, allocations: 0 / 335.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.01872, allocations: 13.72 kB / 335.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.01884, allocations: 314.8 kB / 336.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/0.01884, allocations: 0 / 336.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.0189, allocations: 69.11 kB / 336.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.01893, allocations: 75.28 kB / 336.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.01896, allocations: 75.28 kB / 336.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.586e-05/0.01903, allocations: 37.78 kB / 336.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.01907, allocations: 83.28 kB / 336.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.0191, allocations: 79.22 kB / 336.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.065e-05/0.01917, allocations: 162.6 kB / 336.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.906e-05/0.0192, allocations: 79.3 kB / 336.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.707e-05/0.01926, allocations: 154.5 kB / 336.9 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.01934, allocations: 83.22 kB / 337 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.01937, allocations: 79.27 kB / 337.1 MB, free: 12.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 0.0001362/0.01951, allocations: 264.4 kB / 337.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.01957, allocations: 104.9 kB / 337.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.01962, allocations: 108 kB / 337.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.34e-05/0.01968, allocations: 188.2 kB / 337.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-05/0.01975, allocations: 184.2 kB / 337.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.0198, allocations: 180.3 kB / 338.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.01998, allocations: 317.4 kB / 338.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.02001, allocations: 105 kB / 338.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.02004, allocations: 104.9 kB / 338.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.277e-05/0.0201, allocations: 180.2 kB / 338.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.02015, allocations: 180.3 kB / 339 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.191e-05/0.02021, allocations: 180.2 kB / 339.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-05/0.02026, allocations: 176.3 kB / 339.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.02042, allocations: 331.7 kB / 339.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.02046, allocations: 101 kB / 339.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.02052, allocations: 184.2 kB / 339.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.0206, allocations: 101 kB / 340 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.02066, allocations: 188.5 kB / 340.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.02069, allocations: 105 kB / 340.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.347e-05/0.0207, allocations: 4.859 kB / 340.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0207, allocations: 0 / 340.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.02095, allocations: 7.938 kB / 340.3 MB, free: 9.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 0.0001305/0.02108, allocations: 151.8 kB / 340.4 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.884e-05/0.02113, allocations: 8.438 kB / 340.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02114, allocations: 0 / 340.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.02114, allocations: 0 / 340.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.02142, allocations: 455.7 kB / 340.9 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.02162, allocations: 158.2 kB / 341.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.02166, allocations: 51.36 kB / 341.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.02169, allocations: 3.938 kB / 341.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.02175, allocations: 55.38 kB / 341.2 MB, free: 8.48 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02175, allocations: 0 / 341.2 MB, free: 8.48 MB / 314.7 MB Notification: Performance of Templates: time 0.002339/0.02409, allocations: 370.4 kB / 341.5 MB, free: 8.125 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8487687902525067]