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.001343/0.001343, allocations: 80.8 kB / 21.5 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.001581/0.001581, allocations: 173 kB / 24.91 MB, free: 8.773 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 0.9511/0.9511, allocations: 177.1 MB / 205.3 MB, free: 5.078 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.2477/0.2477, allocations: 34.26 MB / 296.1 MB, free: 0.6133 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.282e-06/1.282e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.708e-05, allocations: 4.359 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002293/0.00232, allocations: 0.4884 MB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.004851, allocations: 2.137 MB / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.004867, allocations: 0 / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.004881, allocations: 0 / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.0049, allocations: 0 / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.009098, allocations: 414.4 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.807e-05/0.009136, allocations: 3.984 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.009173, allocations: 4 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.796e-05/0.009201, allocations: 3.984 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02496/0.03416, allocations: 4.859 MB / 333.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.03418, allocations: 0 / 333.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.03427, allocations: 7.938 kB / 333.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.03428, allocations: 4 kB / 333.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.0343, allocations: 7.938 kB / 333.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.03442, allocations: 11.97 kB / 333.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.03443, allocations: 0 / 333.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03443, allocations: 0 / 333.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.03443, allocations: 0 / 333.1 MB, free: 0.9336 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.0002182/0.03465, allocations: 221 kB / 333.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.03469, allocations: 12.03 kB / 333.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.03486, allocations: 92.2 kB / 333.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.03498, allocations: 181.1 kB / 333.6 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.03502, allocations: 150.9 kB / 333.8 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.03507, allocations: 150.9 kB / 333.9 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.081e-05/0.03514, allocations: 105.5 kB / 334 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.03517, allocations: 87.16 kB / 334.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.03521, allocations: 150.6 kB / 334.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.03525, allocations: 150.6 kB / 334.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.03529, allocations: 150.6 kB / 334.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.03548, allocations: 361.9 kB / 334.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.03556, allocations: 173.1 kB / 335.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.03558, allocations: 84.08 kB / 335.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.03561, allocations: 79.27 kB / 335.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.03565, allocations: 105.8 kB / 335.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.03565, allocations: 0 / 335.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.932e-05/0.03571, allocations: 29.7 kB / 335.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.03578, allocations: 182 kB / 335.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.03585, allocations: 98.72 kB / 335.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.03586, allocations: 25.83 kB / 335.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.03589, allocations: 84.14 kB / 335.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-07/0.03589, allocations: 0 / 335.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.03592, allocations: 17.72 kB / 335.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.03601, allocations: 314.8 kB / 336.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.03601, allocations: 3.938 kB / 336.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.03606, allocations: 65.12 kB / 336.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.03608, allocations: 79.22 kB / 336.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.0361, allocations: 75.28 kB / 336.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.174e-05/0.03615, allocations: 33.75 kB / 336.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.03618, allocations: 79.28 kB / 336.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.0362, allocations: 83.25 kB / 336.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.696e-05/0.03625, allocations: 162.6 kB / 336.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.419e-05/0.03627, allocations: 79.3 kB / 336.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/0.03631, allocations: 158.4 kB / 336.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.03639, allocations: 79.28 kB / 337 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.03641, allocations: 83.22 kB / 337 MB, free: 12.83 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 9.537e-05/0.03651, allocations: 260.4 kB / 337.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.03656, allocations: 105 kB / 337.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.0366, allocations: 108 kB / 337.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/0.03664, allocations: 180.2 kB / 337.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/0.03669, allocations: 184.2 kB / 337.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/0.03674, allocations: 184.2 kB / 338 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.03691, allocations: 325.4 kB / 338.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/0.03694, allocations: 101 kB / 338.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.03696, allocations: 104.9 kB / 338.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.555e-05/0.03701, allocations: 176.3 kB / 338.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.03706, allocations: 184.2 kB / 338.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-05/0.0371, allocations: 180.2 kB / 339.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-05/0.03715, allocations: 180.2 kB / 339.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.03726, allocations: 311.8 kB / 339.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.0373, allocations: 112.9 kB / 339.7 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.03735, allocations: 184.3 kB / 339.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.03743, allocations: 108.9 kB / 340 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.03748, allocations: 180.6 kB / 340.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.03751, allocations: 105 kB / 340.2 MB, free: 9.457 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.03752, allocations: 4.859 kB / 340.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03752, allocations: 0 / 340.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.03776, allocations: 7.938 kB / 340.3 MB, free: 9.441 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.0001196/0.03788, allocations: 159.6 kB / 340.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.73e-05/0.03792, allocations: 96 / 340.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.03792, allocations: 4 kB / 340.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.03793, allocations: 4 kB / 340.4 MB, free: 9.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.03818, allocations: 459.6 kB / 340.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001631/0.03834, allocations: 150.2 kB / 341 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.03838, allocations: 51.36 kB / 341.1 MB, free: 8.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.0384, allocations: 3.984 kB / 341.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.03845, allocations: 59.38 kB / 341.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03845, allocations: 0 / 341.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of Templates: time 0.002049/0.0405, allocations: 384.9 kB / 341.5 MB, free: 8.141 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 -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.930432091001421]