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.001135/0.001135, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.001563/0.001563, allocations: 161 kB / 23.79 MB, free: 0.7891 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.8317/0.8317, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1784/0.1784, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.813e-06/1.813e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.193e-05, allocations: 4.281 kB / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001678/0.00171, allocations: 0.5043 MB / 348.1 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.004385, allocations: 2.047 MB / 350.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.004411, allocations: 0 / 350.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.004434, allocations: 0 / 350.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.026e-05/0.004454, allocations: 0 / 350.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.005725, allocations: 386.5 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.005772, allocations: 0 / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.005806, allocations: 4 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.005836, allocations: 7.922 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01692/0.02276, allocations: 4.816 MB / 355.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.02278, allocations: 4 kB / 355.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.02288, allocations: 4 kB / 355.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.02289, allocations: 0 / 355.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.02291, allocations: 0 / 355.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.02307, allocations: 19.97 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.02308, allocations: 0 / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02308, allocations: 0 / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.02309, allocations: 0 / 355.4 MB, free: 1.777 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.0002702/0.02336, allocations: 348.3 kB / 355.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.0234, allocations: 12.03 kB / 355.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.0236, allocations: 132.1 kB / 355.9 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.939e-05/0.02369, allocations: 231.8 kB / 356.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.02372, allocations: 242.7 kB / 356.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.02374, allocations: 242.7 kB / 356.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.065e-05/0.02379, allocations: 149.5 kB / 356.8 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.02381, allocations: 123.1 kB / 356.9 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.02384, allocations: 238.4 kB / 357.1 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.492e-05/0.02393, allocations: 238.4 kB / 357.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.02399, allocations: 242.3 kB / 357.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.02426, allocations: 0.5681 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.02436, allocations: 269.4 kB / 358.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.0244, allocations: 126.9 kB / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.02443, allocations: 119.2 kB / 358.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.02449, allocations: 156.6 kB / 358.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.02449, allocations: 0 / 358.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.361e-05/0.02458, allocations: 41.56 kB / 358.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.02466, allocations: 222 kB / 359.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.02476, allocations: 149.9 kB / 359.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.02478, allocations: 29.7 kB / 359.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.02481, allocations: 126.9 kB / 359.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.02481, allocations: 4.125 kB / 359.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.02484, allocations: 23.38 kB / 359.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02496, allocations: 492.1 kB / 359.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/0.02497, allocations: 0 / 359.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.02501, allocations: 70.77 kB / 359.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.02505, allocations: 123.2 kB / 360.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/0.02508, allocations: 119.2 kB / 360.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.601e-05/0.02513, allocations: 33.64 kB / 360.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.02521, allocations: 123.2 kB / 360.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.02525, allocations: 119.2 kB / 360.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.513e-05/0.02532, allocations: 250.2 kB / 360.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.02535, allocations: 123.2 kB / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.977e-05/0.02541, allocations: 246.4 kB / 361 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.02551, allocations: 135.1 kB / 361.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.02554, allocations: 119.2 kB / 361.3 MB, free: 11.65 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.0001279/0.02567, allocations: 395 kB / 361.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.02572, allocations: 148.8 kB / 361.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.02578, allocations: 156.1 kB / 362 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/0.02585, allocations: 280 kB / 362.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.217e-05/0.02592, allocations: 276 kB / 362.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.518e-05/0.026, allocations: 264.1 kB / 362.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.02621, allocations: 499.8 kB / 363.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.02626, allocations: 152.9 kB / 363.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.0263, allocations: 148.9 kB / 363.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.814e-05/0.02637, allocations: 268 kB / 363.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.02644, allocations: 264.1 kB / 364.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-05/0.02651, allocations: 272 kB / 364.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.362e-05/0.02659, allocations: 268 kB / 364.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.02674, allocations: 448 kB / 365 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.02679, allocations: 148.9 kB / 365.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.02688, allocations: 268 kB / 365.5 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.02697, allocations: 156.9 kB / 365.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.02706, allocations: 276 kB / 365.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.0271, allocations: 144.9 kB / 366 MB, free: 6.727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.02715, allocations: 123.2 kB / 366.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02715, allocations: 0 / 366.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.02738, allocations: 0 / 366.1 MB, free: 6.605 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.0001264/0.0275, allocations: 210.4 kB / 366.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.609e-05/0.02756, allocations: 4 kB / 366.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02756, allocations: 0 / 366.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.02756, allocations: 8.031 kB / 366.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.02795, allocations: 0.7139 MB / 367.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.02819, allocations: 203.1 kB / 367.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.02822, allocations: 51.36 kB / 367.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.02825, allocations: 4 kB / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.02827, allocations: 8.5 kB / 367.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02827, allocations: 0 / 367.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of Templates: time 0.002436/0.0307, allocations: 361 kB / 367.7 MB, free: 5.004 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.185126375872642]