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.001554/0.001554, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001719/0.001719, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.394/1.394, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2396/0.2396, allocations: 32.37 MB / 270 MB, free: 14.77 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.303e-06/1.303e-06, allocations: 0 / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.492e-05, allocations: 2.312 kB / 346.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001215/0.00124, allocations: 0.5024 MB / 347.4 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.003372, allocations: 1.987 MB / 349.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.003387, allocations: 0 / 349.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.003398, allocations: 0 / 349.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.582e-05/0.003424, allocations: 0 / 349.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.004316, allocations: 386.5 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.137e-05/0.004347, allocations: 4 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.00438, allocations: 0 / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.004402, allocations: 4 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02022/0.02463, allocations: 4.832 MB / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.02465, allocations: 0 / 354.6 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.02475, allocations: 12 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.02476, allocations: 4 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.02478, allocations: 0 / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.02493, allocations: 7.984 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.02493, allocations: 0 / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.02494, allocations: 0 / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.02494, allocations: 0 / 354.6 MB, free: 2.211 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.0002524/0.02519, allocations: 246.4 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.02523, allocations: 8.031 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.02542, allocations: 92.2 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.02551, allocations: 181.1 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.02554, allocations: 158.9 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.02557, allocations: 154.9 kB / 355.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.451e-05/0.02563, allocations: 101.5 kB / 355.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.02565, allocations: 83.2 kB / 355.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.02568, allocations: 150.6 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.02571, allocations: 150.6 kB / 355.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.02573, allocations: 154.6 kB / 356.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.0259, allocations: 397.5 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.02595, allocations: 173.1 kB / 356.6 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.02597, allocations: 84.14 kB / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.02604, allocations: 75.28 kB / 356.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/0.02611, allocations: 109.8 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.02611, allocations: 0 / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.383e-05/0.0262, allocations: 33.58 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.02633, allocations: 186.1 kB / 357.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.02656, allocations: 93.86 kB / 357.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.02657, allocations: 25.7 kB / 357.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.02663, allocations: 80.14 kB / 357.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.02663, allocations: 0 / 357.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.02666, allocations: 13.84 kB / 357.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.02684, allocations: 314.8 kB / 357.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.02685, allocations: 0 / 357.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.02691, allocations: 69.12 kB / 357.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.02696, allocations: 75.28 kB / 357.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-05/0.02699, allocations: 75.28 kB / 357.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001013/0.0271, allocations: 37.62 kB / 357.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.02715, allocations: 79.28 kB / 358 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/0.0272, allocations: 83.27 kB / 358 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.651e-05/0.0273, allocations: 154.5 kB / 358.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.02734, allocations: 79.22 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.222e-05/0.02742, allocations: 158.6 kB / 358.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.02754, allocations: 79.22 kB / 358.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.02758, allocations: 83.27 kB / 358.6 MB, free: 14.04 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.0002503/0.02783, allocations: 260.4 kB / 358.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.02792, allocations: 113 kB / 358.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.02799, allocations: 108 kB / 359 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-05/0.02808, allocations: 180.2 kB / 359.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001073/0.02819, allocations: 188.2 kB / 359.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.401e-05/0.02828, allocations: 180.3 kB / 359.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.02856, allocations: 349.1 kB / 359.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.807e-05/0.02862, allocations: 109 kB / 360 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.02867, allocations: 105 kB / 360.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.02878, allocations: 188.2 kB / 360.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.823e-05/0.02888, allocations: 180.3 kB / 360.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002304/0.02911, allocations: 188.1 kB / 360.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.483e-05/0.02921, allocations: 180.2 kB / 360.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.02941, allocations: 311.8 kB / 361.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.02947, allocations: 101 kB / 361.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.02959, allocations: 184.2 kB / 361.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.0297, allocations: 105 kB / 361.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.0298, allocations: 192.2 kB / 361.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.02987, allocations: 104.9 kB / 361.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.613e-05/0.02992, allocations: 75.28 kB / 361.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02992, allocations: 0 / 361.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000264/0.03019, allocations: 8 kB / 361.9 MB, free: 10.52 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.0001583/0.03034, allocations: 166.5 kB / 362.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.999e-05/0.03039, allocations: 0 / 362.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0304, allocations: 0 / 362.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.0304, allocations: 0 / 362.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.03085, allocations: 467.6 kB / 362.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.03112, allocations: 165.5 kB / 362.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.03118, allocations: 51.36 kB / 362.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.0312, allocations: 0 / 362.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.03123, allocations: 12.5 kB / 362.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03123, allocations: 0 / 362.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of Templates: time 0.002545/0.03377, allocations: 348.8 kB / 363.1 MB, free: 9.277 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900702834012918]