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.0007418/0.0007418, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001778, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009188/0.0009188, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.00211, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09335/1.134, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2593/0.2593, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02624/0.2856, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.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.353e-06/1.353e-06, allocations: 0 / 292.6 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.643e-05, allocations: 3.078 kB / 292.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001243/0.001259, allocations: 0.5395 MB / 293.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.003889, allocations: 2.14 MB / 295.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.562e-05/0.003905, allocations: 4 kB / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.448e-06/0.003909, allocations: 0 / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.467e-06/0.003913, allocations: 0 / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.004776, allocations: 362.4 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.00482, allocations: 4 kB / 295.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.00486, allocations: 4 kB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.004916, allocations: 0 / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.01605, allocations: 4.87 MB / 300.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.01607, allocations: 0 / 300.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.01617, allocations: 4 kB / 300.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.01618, allocations: 0 / 300.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.0162, allocations: 0.5 kB / 300.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.01632, allocations: 11.98 kB / 300.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-05/0.01633, allocations: 4 kB / 300.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01634, allocations: 0 / 300.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.01635, allocations: 0 / 300.5 MB, free: 15.56 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.0002722/0.01662, allocations: 221.2 kB / 300.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01666, allocations: 8.031 kB / 300.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.01688, allocations: 169.2 kB / 300.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.017, allocations: 185.1 kB / 301.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.01704, allocations: 154.9 kB / 301.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.01708, allocations: 150.9 kB / 301.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.439e-05/0.01713, allocations: 113.5 kB / 301.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.01716, allocations: 83.16 kB / 301.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.0172, allocations: 150.6 kB / 301.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.01724, allocations: 150.6 kB / 301.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.01729, allocations: 158.5 kB / 302 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.01746, allocations: 353.3 kB / 302.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.01754, allocations: 169.1 kB / 302.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.01756, allocations: 80.14 kB / 302.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.01758, allocations: 79.27 kB / 302.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.01763, allocations: 117.8 kB / 302.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.01763, allocations: 0 / 302.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.613e-05/0.01768, allocations: 29.7 kB / 302.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.01775, allocations: 130.6 kB / 303 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.01782, allocations: 102.7 kB / 303.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.01783, allocations: 25.7 kB / 303.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.01785, allocations: 80.14 kB / 303.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-07/0.01785, allocations: 0 / 303.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.01787, allocations: 13.72 kB / 303.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.01795, allocations: 310.8 kB / 303.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-06/0.01796, allocations: 0 / 303.5 MB, free: 12.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.018, allocations: 69.23 kB / 303.6 MB, free: 12.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.01802, allocations: 79.31 kB / 303.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/0.01804, allocations: 79.22 kB / 303.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.306e-05/0.01807, allocations: 29.7 kB / 303.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.0181, allocations: 79.28 kB / 303.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.01812, allocations: 79.28 kB / 303.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.122e-05/0.01816, allocations: 158.5 kB / 304.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.117e-05/0.01818, allocations: 75.28 kB / 304.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.026e-05/0.01822, allocations: 170.4 kB / 304.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.01828, allocations: 79.27 kB / 304.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.01829, allocations: 75.28 kB / 304.4 MB, free: 11.43 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 8.423e-05/0.01838, allocations: 272.4 kB / 304.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01841, allocations: 104.9 kB / 304.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.01845, allocations: 112 kB / 304.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.185e-05/0.01849, allocations: 180.2 kB / 305.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/0.01854, allocations: 188.2 kB / 305.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.5e-05/0.01858, allocations: 176.3 kB / 305.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.01871, allocations: 321.3 kB / 305.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.01873, allocations: 105 kB / 305.9 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.01876, allocations: 104.9 kB / 306 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.01879, allocations: 112.9 kB / 306.1 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.301e-05/0.01884, allocations: 180.3 kB / 306.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.01888, allocations: 180.5 kB / 306.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-05/0.01893, allocations: 188.2 kB / 306.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.62e-05/0.01897, allocations: 184.2 kB / 306.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.692e-05/0.01907, allocations: 303.7 kB / 307.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.01912, allocations: 184.2 kB / 307.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.424e-05/0.01918, allocations: 101 kB / 307.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.01922, allocations: 188.2 kB / 307.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.01925, allocations: 105 kB / 307.7 MB, free: 8.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.75e-05/0.01927, allocations: 8.844 kB / 307.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01927, allocations: 4.094 kB / 307.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.0194, allocations: 7.938 kB / 307.7 MB, free: 8.02 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.429e-05/0.01949, allocations: 147.7 kB / 307.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.38e-05/0.01953, allocations: 7.922 kB / 307.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.01954, allocations: 4 kB / 307.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.01954, allocations: 0 / 307.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01973, allocations: 455.7 kB / 308.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.0199, allocations: 158.1 kB / 308.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.753e-05/0.01993, allocations: 51.36 kB / 308.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.01995, allocations: 7.984 kB / 308.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.01999, allocations: 55.38 kB / 308.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01999, allocations: 0 / 308.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of Templates: time 0.001726/0.02172, allocations: 392.8 kB / 308.9 MB, free: 6.707 MB / 298.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 -ignoreHideResult -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.703041695058346]