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.00138/0.00138, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001445/0.001445, allocations: 169.3 kB / 24.24 MB, free: 316 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.8553/0.8553, allocations: 158.6 MB / 186 MB, free: 2.926 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.1279/0.1279, allocations: 32.37 MB / 270.7 MB, free: 14.79 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.743e-06/1.743e-06, allocations: 0 / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.272e-05, allocations: 2.312 kB / 347.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001112/0.001135, allocations: 0.5026 MB / 348.1 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.003196, allocations: 2.043 MB / 350.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.003217, allocations: 0 / 350.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.003232, allocations: 0 / 350.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.782e-05/0.003249, allocations: 0 / 350.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.004032, allocations: 386.5 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.001e-05/0.004072, allocations: 4 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.004103, allocations: 0 / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.004131, allocations: 15.91 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.01666, allocations: 4.819 MB / 355.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.01667, allocations: 4 kB / 355.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.01674, allocations: 11.98 kB / 355.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.01675, allocations: 3.938 kB / 355.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.01677, allocations: 0 / 355.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.01688, allocations: 11.98 kB / 355.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01689, allocations: 0 / 355.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01689, allocations: 0 / 355.4 MB, free: 2.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.01689, allocations: 0 / 355.4 MB, free: 2.109 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.0001884/0.01708, allocations: 352.3 kB / 355.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01712, allocations: 12.03 kB / 355.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.01729, allocations: 128.1 kB / 355.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.01736, allocations: 231.8 kB / 356.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.01738, allocations: 242.8 kB / 356.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.0174, allocations: 242.7 kB / 356.6 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.887e-05/0.01744, allocations: 149.5 kB / 356.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01746, allocations: 123.1 kB / 356.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.01749, allocations: 242.3 kB / 357.1 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.01751, allocations: 238.4 kB / 357.3 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.01756, allocations: 238.4 kB / 357.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.01781, allocations: 0.5681 MB / 358.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.01791, allocations: 269.4 kB / 358.4 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.01795, allocations: 130.8 kB / 358.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.01799, allocations: 123.2 kB / 358.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.01804, allocations: 152.6 kB / 358.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.01804, allocations: 0 / 358.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.913e-05/0.01811, allocations: 33.64 kB / 358.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.01819, allocations: 226 kB / 359.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.01829, allocations: 149.9 kB / 359.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.0183, allocations: 29.7 kB / 359.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.01833, allocations: 126.9 kB / 359.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.01833, allocations: 4.125 kB / 359.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.01836, allocations: 19.38 kB / 359.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01848, allocations: 496.1 kB / 359.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.01849, allocations: 3.938 kB / 359.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.01853, allocations: 66.78 kB / 359.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.373e-05/0.01857, allocations: 127.2 kB / 360.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-05/0.0186, allocations: 119.2 kB / 360.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.847e-05/0.01864, allocations: 29.7 kB / 360.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.01868, allocations: 123.2 kB / 360.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.01871, allocations: 123.1 kB / 360.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.541e-05/0.01878, allocations: 246.3 kB / 360.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.03e-05/0.01881, allocations: 127.2 kB / 360.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.843e-05/0.01887, allocations: 246.3 kB / 361.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.178e-05/0.01895, allocations: 123.2 kB / 361.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.01898, allocations: 127.1 kB / 361.3 MB, free: 11.98 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.0001195/0.0191, allocations: 395 kB / 361.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.01916, allocations: 144.9 kB / 361.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.01922, allocations: 156 kB / 362 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-05/0.0193, allocations: 280 kB / 362.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.01936, allocations: 276.1 kB / 362.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.319e-05/0.01945, allocations: 272 kB / 362.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.01963, allocations: 499.9 kB / 363.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.01967, allocations: 144.9 kB / 363.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.01971, allocations: 152.8 kB / 363.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.01983, allocations: 264.1 kB / 363.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.0199, allocations: 272 kB / 364.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.545e-05/0.01997, allocations: 268.1 kB / 364.3 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.061e-05/0.02004, allocations: 275.9 kB / 364.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.02018, allocations: 436 kB / 365 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.02022, allocations: 156.8 kB / 365.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.02029, allocations: 268.1 kB / 365.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.02049, allocations: 156.8 kB / 365.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.02056, allocations: 268 kB / 365.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.02059, allocations: 144.9 kB / 366 MB, free: 7.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.02062, allocations: 123.2 kB / 366.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02062, allocations: 0 / 366.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.02086, allocations: 0 / 366.1 MB, free: 6.941 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 9.887e-05/0.02096, allocations: 218.4 kB / 366.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.755e-05/0.021, allocations: 7.984 kB / 366.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.021, allocations: 0 / 366.4 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.02101, allocations: 4.094 kB / 366.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.02136, allocations: 0.7023 MB / 367.1 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.02155, allocations: 207.1 kB / 367.3 MB, free: 5.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.02158, allocations: 51.36 kB / 367.3 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.188e-05/0.0216, allocations: 4 kB / 367.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.02162, allocations: 8.5 kB / 367.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02162, allocations: 0 / 367.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of Templates: time 0.001819/0.02344, allocations: 356.9 kB / 367.7 MB, free: 5.344 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: 3.2146892400924116]