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.00104/0.00104, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001653/0.001653, allocations: 163.9 kB / 24.83 MB, free: 9.293 MB / 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.8605/0.8605, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1629/0.1629, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.603e-06/1.603e-06, allocations: 0 / 348.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.296e-05, allocations: 2.312 kB / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001739/0.001762, allocations: 0.5065 MB / 349.4 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.004351, allocations: 2.028 MB / 351.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.004372, allocations: 4 kB / 351.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.004385, allocations: 4 kB / 351.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.557e-05/0.0044, allocations: 0 / 351.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.005263, allocations: 382.5 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.666e-05/0.00529, allocations: 0 / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.767e-05/0.005318, allocations: 0 / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.005337, allocations: 4 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009946/0.01528, allocations: 4.826 MB / 356.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.0153, allocations: 0 / 356.6 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.01538, allocations: 4 kB / 356.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.01538, allocations: 7.938 kB / 356.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.0154, allocations: 0 / 356.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.0155, allocations: 11.92 kB / 356.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01551, allocations: 4 kB / 356.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01551, allocations: 0 / 356.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.01551, allocations: 4 kB / 356.7 MB, free: 1.52 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.0001647/0.01568, allocations: 348.3 kB / 357 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.01571, allocations: 8.031 kB / 357 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.01583, allocations: 128.1 kB / 357.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.0159, allocations: 227.8 kB / 357.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.01592, allocations: 242.8 kB / 357.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.01594, allocations: 242.7 kB / 357.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.129e-05/0.01597, allocations: 145.5 kB / 358 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01598, allocations: 123.1 kB / 358.1 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.897e-05/0.01606, allocations: 246.3 kB / 358.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.01612, allocations: 242.4 kB / 358.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.01618, allocations: 238.4 kB / 358.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.01639, allocations: 0.5531 MB / 359.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.01649, allocations: 261.4 kB / 359.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.01652, allocations: 130.8 kB / 359.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01655, allocations: 123.2 kB / 359.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.01659, allocations: 152.6 kB / 360 MB, free: 14.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.01659, allocations: 0 / 360 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.134e-05/0.01664, allocations: 25.7 kB / 360 MB, free: 14.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.01671, allocations: 233.9 kB / 360.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.01679, allocations: 153.9 kB / 360.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.0168, allocations: 29.7 kB / 360.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.01683, allocations: 134.9 kB / 360.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-07/0.01683, allocations: 0 / 360.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.01685, allocations: 15.38 kB / 360.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01696, allocations: 492.1 kB / 361.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-06/0.01696, allocations: 7.938 kB / 361.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.017, allocations: 66.78 kB / 361.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.01703, allocations: 123.2 kB / 361.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/0.01705, allocations: 127.2 kB / 361.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.683e-05/0.01709, allocations: 33.8 kB / 361.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.01712, allocations: 127.2 kB / 361.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.01715, allocations: 123.1 kB / 361.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.404e-05/0.01721, allocations: 238.4 kB / 361.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.667e-05/0.01723, allocations: 123.1 kB / 362 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.285e-05/0.01729, allocations: 250.3 kB / 362.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.01736, allocations: 119.2 kB / 362.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.01739, allocations: 131.1 kB / 362.5 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 0.0001177/0.01751, allocations: 391 kB / 362.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.01756, allocations: 152.9 kB / 363 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.01761, allocations: 152.1 kB / 363.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.278e-05/0.01767, allocations: 276.1 kB / 363.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.01773, allocations: 280 kB / 363.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.06e-05/0.01779, allocations: 268 kB / 364 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01796, allocations: 476.5 kB / 364.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.933e-05/0.018, allocations: 148.9 kB / 364.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.01803, allocations: 148.8 kB / 364.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.906e-05/0.01809, allocations: 272.1 kB / 365 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.01815, allocations: 268 kB / 365.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.13e-05/0.01821, allocations: 264.1 kB / 365.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.765e-05/0.01827, allocations: 276 kB / 365.8 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.01839, allocations: 448 kB / 366.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.01843, allocations: 148.8 kB / 366.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.01849, allocations: 268.1 kB / 366.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.01855, allocations: 148.8 kB / 366.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.01861, allocations: 272.1 kB / 367.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.01864, allocations: 148.9 kB / 367.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.01867, allocations: 123.1 kB / 367.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01867, allocations: 0 / 367.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.01882, allocations: 4 kB / 367.3 MB, free: 6.41 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.0001006/0.01892, allocations: 218.5 kB / 367.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.982e-05/0.01896, allocations: 0 / 367.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01896, allocations: 0 / 367.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.01896, allocations: 0 / 367.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01923, allocations: 0.7061 MB / 368.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.0194, allocations: 207.1 kB / 368.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.184e-05/0.01943, allocations: 59.28 kB / 368.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.01945, allocations: 0 / 368.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.0195, allocations: 74.2 kB / 368.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0195, allocations: 4 kB / 368.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of Templates: time 0.001799/0.0213, allocations: 376.7 kB / 368.9 MB, free: 4.723 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.1699390090070665]