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.002389/0.002389, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.002271/0.002271, allocations: 165.3 kB / 24.28 MB, free: 144 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 1.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3407/0.3407, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.463e-06/1.463e-06, allocations: 0 / 377.2 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.831e-05, allocations: 2.312 kB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001551/0.001579, allocations: 0.4921 MB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.005379, allocations: 2.097 MB / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.0054, allocations: 0 / 379.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.005414, allocations: 3.938 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.005444, allocations: 0 / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.006668, allocations: 410.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.809e-05/0.006706, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.006741, allocations: 0 / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.006774, allocations: 4 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02968/0.03645, allocations: 4.849 MB / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.03648, allocations: 0 / 385.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.03658, allocations: 4 kB / 385.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.03659, allocations: 0 / 385.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.03662, allocations: 4 kB / 385.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.03678, allocations: 15.97 kB / 385.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.03678, allocations: 4 kB / 385.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03679, allocations: 0 / 385.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.03679, allocations: 0 / 385.1 MB, free: 12.24 MB / 362.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.0003933/0.03718, allocations: 344.3 kB / 385.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.03723, allocations: 8.031 kB / 385.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.03745, allocations: 128.1 kB / 385.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.03764, allocations: 231.8 kB / 385.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.0378, allocations: 238.8 kB / 386 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.03791, allocations: 242.7 kB / 386.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.03803, allocations: 153.5 kB / 386.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-05/0.0381, allocations: 123.1 kB / 386.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.03823, allocations: 238.4 kB / 386.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.03835, allocations: 238.4 kB / 387 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.03848, allocations: 242.4 kB / 387.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.03893, allocations: 0.5681 MB / 387.8 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.03914, allocations: 269.4 kB / 388.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.03922, allocations: 126.9 kB / 388.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.03929, allocations: 123.1 kB / 388.3 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.517e-05/0.03938, allocations: 152.6 kB / 388.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.03938, allocations: 0 / 388.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.45e-05/0.03948, allocations: 45.58 kB / 388.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.03963, allocations: 222 kB / 388.7 MB, free: 8.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.03978, allocations: 157.9 kB / 388.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.03985, allocations: 25.7 kB / 388.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.03992, allocations: 126.9 kB / 389 MB, free: 8.109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.03993, allocations: 0 / 389 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.03996, allocations: 19.38 kB / 389.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.04021, allocations: 0.4884 MB / 389.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.04021, allocations: 0 / 389.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.04028, allocations: 70.91 kB / 389.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.04034, allocations: 123.2 kB / 389.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.764e-05/0.0404, allocations: 119.2 kB / 389.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.317e-05/0.04046, allocations: 41.61 kB / 389.9 MB, free: 7.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.04054, allocations: 123.2 kB / 390 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-05/0.0406, allocations: 119.2 kB / 390.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.04074, allocations: 246.3 kB / 390.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.0408, allocations: 127.2 kB / 390.5 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.04092, allocations: 238.4 kB / 390.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.04117, allocations: 131.1 kB / 390.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.04123, allocations: 119.2 kB / 391 MB, free: 6.121 MB / 362.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.0002214/0.04145, allocations: 402.9 kB / 391.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.04156, allocations: 148.9 kB / 391.5 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.04164, allocations: 151.8 kB / 391.7 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001382/0.04178, allocations: 276 kB / 391.9 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001375/0.04192, allocations: 268 kB / 392.2 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/0.04205, allocations: 272.1 kB / 392.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.04238, allocations: 491.8 kB / 392.9 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.059e-05/0.04245, allocations: 144.9 kB / 393.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.04253, allocations: 152.9 kB / 393.2 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.04267, allocations: 272 kB / 393.5 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.04281, allocations: 268.1 kB / 393.8 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001404/0.04295, allocations: 272 kB / 394 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001374/0.04308, allocations: 268 kB / 394.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.04358, allocations: 455.9 kB / 394.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.04366, allocations: 148.9 kB / 394.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.04381, allocations: 268 kB / 395.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.04394, allocations: 148.9 kB / 395.3 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.04408, allocations: 268.3 kB / 395.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.04416, allocations: 156.8 kB / 395.7 MB, free: 1.199 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.04423, allocations: 123.2 kB / 395.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04423, allocations: 4.094 kB / 395.8 MB, free: 1.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.04449, allocations: 0 / 395.8 MB, free: 1.074 MB / 362.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.0001733/0.04466, allocations: 210.4 kB / 396 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.832e-05/0.04472, allocations: 8.031 kB / 396 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.04472, allocations: 0 / 396 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.04472, allocations: 0 / 396 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.0453, allocations: 0.7061 MB / 396.7 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.04561, allocations: 207.1 kB / 396.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.04567, allocations: 59.34 kB / 397 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.129e-05/0.0457, allocations: 4 kB / 397 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.04572, allocations: 8.5 kB / 397 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.04572, allocations: 0 / 397 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Templates: time 0.002913/0.04863, allocations: 347.9 kB / 397.4 MB, free: 15.49 MB / 378.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886272197007202]