Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001089/0.001089, allocations: 80.2 kB / 20.65 MB, free: 3.836 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.0009918/0.0009918, allocations: 177 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9241/0.9241, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1286/0.1286, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.189e-05, allocations: 2.312 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001207/0.001229, allocations: 0.5104 MB / 348.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.003033, allocations: 2.02 MB / 350.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.003053, allocations: 4 kB / 350.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.003067, allocations: 0 / 350.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.806e-05/0.003085, allocations: 0 / 350.6 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.003884, allocations: 386.5 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.097e-05/0.003915, allocations: 4 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.003944, allocations: 3.984 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.00397, allocations: 8 kB / 351 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009482/0.01345, allocations: 4.815 MB / 355.8 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.01347, allocations: 4 kB / 355.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.01357, allocations: 11.97 kB / 355.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.01358, allocations: 0 / 355.8 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.0136, allocations: 3.938 kB / 355.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.01373, allocations: 11.94 kB / 355.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01374, allocations: 0 / 355.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01374, allocations: 4 kB / 355.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.01375, allocations: 4 kB / 355.9 MB, free: 1.512 MB / 282.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.0002191/0.01397, allocations: 344.3 kB / 356.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.014, allocations: 8.031 kB / 356.2 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01416, allocations: 132.1 kB / 356.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.838e-05/0.01423, allocations: 227.8 kB / 356.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.01425, allocations: 242.8 kB / 356.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.01427, allocations: 238.8 kB / 357 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.639e-05/0.0143, allocations: 145.5 kB / 357.2 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01432, allocations: 127.1 kB / 357.3 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.0144, allocations: 250.3 kB / 357.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-05/0.01447, allocations: 238.4 kB / 357.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.01452, allocations: 238.4 kB / 358 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.01477, allocations: 0.553 MB / 358.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.01485, allocations: 269.4 kB / 358.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.01489, allocations: 126.9 kB / 359 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.01492, allocations: 127.1 kB / 359.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.01503, allocations: 152.6 kB / 359.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/0.01503, allocations: 0 / 359.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.129e-05/0.01509, allocations: 25.7 kB / 359.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.01516, allocations: 233.9 kB / 359.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.01524, allocations: 149.9 kB / 359.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.01525, allocations: 25.7 kB / 359.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.01529, allocations: 126.9 kB / 359.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-07/0.01529, allocations: 4 kB / 359.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.01531, allocations: 19.38 kB / 359.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01544, allocations: 0.4884 MB / 360.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-06/0.01544, allocations: 4 kB / 360.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.01549, allocations: 70.72 kB / 360.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.01552, allocations: 119.2 kB / 360.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/0.01555, allocations: 131.3 kB / 360.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.611e-05/0.01558, allocations: 29.7 kB / 360.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.01562, allocations: 127.2 kB / 360.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.01565, allocations: 123.1 kB / 360.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.01586, allocations: 238.4 kB / 361.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.538e-05/0.01589, allocations: 127.1 kB / 361.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.517e-05/0.01593, allocations: 246.3 kB / 361.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.016, allocations: 119.2 kB / 361.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.01602, allocations: 127.1 kB / 361.7 MB, free: 11.42 MB / 298.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.0001029/0.01613, allocations: 395 kB / 362.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.01617, allocations: 152.9 kB / 362.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.01622, allocations: 152.1 kB / 362.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.069e-05/0.01628, allocations: 276.1 kB / 362.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.01634, allocations: 272 kB / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/0.0164, allocations: 268 kB / 363.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01655, allocations: 480.5 kB / 363.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.746e-05/0.01659, allocations: 148.9 kB / 363.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.01663, allocations: 148.8 kB / 364 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/0.01668, allocations: 264.1 kB / 364.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.01674, allocations: 272 kB / 364.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.253e-05/0.01679, allocations: 264.1 kB / 364.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003781/0.01717, allocations: 272.1 kB / 365 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.0173, allocations: 455.9 kB / 365.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.01734, allocations: 148.8 kB / 365.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.01742, allocations: 272.1 kB / 365.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.01749, allocations: 144.9 kB / 366 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.01755, allocations: 272 kB / 366.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.01758, allocations: 144.9 kB / 366.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.01761, allocations: 123.1 kB / 366.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01761, allocations: 0 / 366.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000153/0.01776, allocations: 4 kB / 366.5 MB, free: 6.406 MB / 298.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.0001246/0.01789, allocations: 218.5 kB / 366.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.23e-05/0.01793, allocations: 3.938 kB / 366.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01793, allocations: 0 / 366.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.01793, allocations: 0 / 366.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.01822, allocations: 0.7062 MB / 367.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.01839, allocations: 207.1 kB / 367.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.01842, allocations: 51.36 kB / 367.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.359e-05/0.01845, allocations: 0 / 367.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.01849, allocations: 86.19 kB / 367.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0185, allocations: 0 / 367.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of Templates: time 0.001828/0.02032, allocations: 368.8 kB / 368.2 MB, free: 4.727 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.972368084359914]