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.0007547/0.0007547, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001822, allocations: 452 kB / 10.43 MB, free: 264 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.000759/0.000759, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009355/0.001695, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 1.083/1.083, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2076/1.29, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.1951/0.1951, allocations: 32.35 MB / 253.8 MB, free: 240 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05116/0.2463, allocations: 12.31 MB / 266.1 MB, free: 3.883 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.483e-06/1.483e-06, allocations: 0 / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.281e-05, allocations: 10.19 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001784/0.001807, allocations: 0.5401 MB / 267.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.004333, allocations: 2.059 MB / 270 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.004351, allocations: 3.828 kB / 270 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.742e-06/0.004358, allocations: 0 / 270 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.265e-06/0.004366, allocations: 0 / 270 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.005479, allocations: 342.4 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.005537, allocations: 0 / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.005587, allocations: 3.984 kB / 270.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.005649, allocations: 12 kB / 270.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009998/0.01565, allocations: 4.837 MB / 275.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.01567, allocations: 3.938 kB / 275.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.01579, allocations: 8 kB / 275.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.0158, allocations: 0 / 275.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.01582, allocations: 0 / 275.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.01599, allocations: 7.938 kB / 275.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.01601, allocations: 4 kB / 275.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01601, allocations: 4 kB / 275.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.01603, allocations: 0 / 275.2 MB, free: 10.7 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.0003129/0.01634, allocations: 224.7 kB / 275.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01638, allocations: 8.031 kB / 275.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.01663, allocations: 169.2 kB / 275.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.01675, allocations: 177.1 kB / 275.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.0168, allocations: 154.9 kB / 275.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.01684, allocations: 150.9 kB / 276 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.737e-05/0.0169, allocations: 101.5 kB / 276.1 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.01692, allocations: 79.22 kB / 276.2 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.01698, allocations: 170.5 kB / 276.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.01702, allocations: 150.6 kB / 276.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.01706, allocations: 158.5 kB / 276.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.01725, allocations: 357.3 kB / 277 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.777e-05/0.01733, allocations: 165.1 kB / 277.2 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.01736, allocations: 88.06 kB / 277.3 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01738, allocations: 79.28 kB / 277.4 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.01743, allocations: 105.8 kB / 277.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.01743, allocations: 0 / 277.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.677e-05/0.01749, allocations: 37.64 kB / 277.5 MB, free: 8.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.01755, allocations: 134.6 kB / 277.6 MB, free: 8.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.01763, allocations: 98.7 kB / 277.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.01764, allocations: 25.7 kB / 277.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.01767, allocations: 84.14 kB / 277.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-07/0.01767, allocations: 0 / 277.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.01769, allocations: 9.719 kB / 277.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.01779, allocations: 314.8 kB / 278.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-06/0.01779, allocations: 0 / 278.2 MB, free: 7.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.01784, allocations: 61.12 kB / 278.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.01786, allocations: 79.28 kB / 278.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.01788, allocations: 75.44 kB / 278.4 MB, free: 7.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.195e-05/0.01793, allocations: 41.62 kB / 278.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.01796, allocations: 79.28 kB / 278.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.01798, allocations: 75.28 kB / 278.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.206e-05/0.01805, allocations: 162.5 kB / 278.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.01807, allocations: 79.28 kB / 278.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-05/0.01812, allocations: 154.5 kB / 279 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.01818, allocations: 83.22 kB / 279 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.0182, allocations: 75.28 kB / 279.1 MB, free: 6.566 MB / 282.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.86e-05/0.0183, allocations: 268.4 kB / 279.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.01835, allocations: 108.9 kB / 279.5 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.01839, allocations: 104 kB / 279.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.01844, allocations: 192.2 kB / 279.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/0.01849, allocations: 180.2 kB / 279.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/0.01854, allocations: 180.2 kB / 280.1 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01868, allocations: 317.4 kB / 280.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/0.01871, allocations: 101.2 kB / 280.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.01874, allocations: 112.9 kB / 280.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.01879, allocations: 105 kB / 280.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-05/0.01884, allocations: 180.3 kB / 280.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/0.0189, allocations: 184.2 kB / 281.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/0.01896, allocations: 184.2 kB / 281.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.388e-05/0.01901, allocations: 184.2 kB / 281.5 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01914, allocations: 303.8 kB / 281.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.01919, allocations: 184.2 kB / 281.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.01925, allocations: 101 kB / 282 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.01931, allocations: 188.2 kB / 282.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.01934, allocations: 109 kB / 282.3 MB, free: 3.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.726e-05/0.01936, allocations: 4.859 kB / 282.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01936, allocations: 0 / 282.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.01949, allocations: 7.938 kB / 282.3 MB, free: 3.164 MB / 282.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.000105/0.01959, allocations: 151.8 kB / 282.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.678e-05/0.01964, allocations: 4 kB / 282.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01964, allocations: 0 / 282.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.01965, allocations: 3.938 kB / 282.5 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01992, allocations: 471.6 kB / 282.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.02009, allocations: 157.4 kB / 283.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.02013, allocations: 51.36 kB / 283.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.273e-05/0.02015, allocations: 0 / 283.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.0202, allocations: 59.36 kB / 283.2 MB, free: 2.227 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0202, allocations: 4 kB / 283.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Templates: time 0.002313/0.02251, allocations: 387.6 kB / 283.6 MB, free: 1.844 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.880308927036822]