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.001094/0.001094, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001905/0.002999, allocations: 449.8 kB / 10.44 MB, free: 252 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.00146/0.00146, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001998/0.003458, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.08/1.08, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1285/1.209, allocations: 53.65 MB / 243.4 MB, free: 15.52 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.3639/0.3639, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03721/0.4011, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.623e-06/1.623e-06, allocations: 0 / 292.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.863e-05, allocations: 4.266 kB / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001568/0.001597, allocations: 0.5378 MB / 293.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.00433, allocations: 2.148 MB / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.004349, allocations: 0 / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-06/0.004353, allocations: 0 / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.004359, allocations: 0 / 295.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.005524, allocations: 358.3 kB / 295.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.005576, allocations: 12.44 kB / 295.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.005616, allocations: 0 / 295.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.005661, allocations: 8 kB / 295.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.01697, allocations: 4.871 MB / 300.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.017, allocations: 0 / 300.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.01712, allocations: 8 kB / 300.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.01714, allocations: 0 / 300.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.01716, allocations: 4 kB / 300.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.01732, allocations: 23.91 kB / 300.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.71e-05/0.01734, allocations: 4 kB / 300.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01734, allocations: 0 / 300.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.01736, allocations: 0 / 300.8 MB, free: 15.44 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.0003039/0.01766, allocations: 217.2 kB / 301 MB, free: 15.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.0177, allocations: 8.031 kB / 301 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.01798, allocations: 165.3 kB / 301.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.0181, allocations: 181.1 kB / 301.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.01814, allocations: 154.9 kB / 301.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.01818, allocations: 150.9 kB / 301.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.488e-05/0.01823, allocations: 109.5 kB / 301.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.01826, allocations: 79.22 kB / 301.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.01831, allocations: 158.6 kB / 302 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.01836, allocations: 150.6 kB / 302.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.01839, allocations: 150.6 kB / 302.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.01856, allocations: 357.3 kB / 302.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.01863, allocations: 169.1 kB / 302.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.01865, allocations: 84.12 kB / 302.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.01868, allocations: 79.28 kB / 302.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.01873, allocations: 105.8 kB / 303 MB, free: 13.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.01873, allocations: 4 kB / 303 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 9.038e-05/0.01882, allocations: 33.7 kB / 303.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.01888, allocations: 134.6 kB / 303.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.01896, allocations: 94.72 kB / 303.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.01897, allocations: 25.7 kB / 303.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.019, allocations: 84.14 kB / 303.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.019, allocations: 0 / 303.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.01902, allocations: 9.719 kB / 303.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.0191, allocations: 318.8 kB / 303.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-06/0.01911, allocations: 0 / 303.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.01916, allocations: 65.25 kB / 303.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.01919, allocations: 79.28 kB / 303.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/0.01922, allocations: 75.28 kB / 303.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.533e-05/0.01926, allocations: 29.7 kB / 304 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.01929, allocations: 79.28 kB / 304 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.01932, allocations: 83.16 kB / 304.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.848e-05/0.01938, allocations: 166.5 kB / 304.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.0194, allocations: 79.22 kB / 304.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/0.01944, allocations: 154.5 kB / 304.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.01951, allocations: 79.28 kB / 304.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.01953, allocations: 83.27 kB / 304.7 MB, free: 11.32 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.0001016/0.01963, allocations: 264.4 kB / 304.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.01969, allocations: 105 kB / 305 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.01973, allocations: 107.9 kB / 305.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.796e-05/0.01977, allocations: 184.3 kB / 305.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.817e-05/0.01982, allocations: 188.1 kB / 305.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/0.01987, allocations: 180.3 kB / 305.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.02001, allocations: 313.4 kB / 306 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/0.02004, allocations: 104.9 kB / 306.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.02006, allocations: 105 kB / 306.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.0201, allocations: 108.9 kB / 306.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.854e-05/0.02015, allocations: 188.3 kB / 306.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.0202, allocations: 180.6 kB / 306.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.616e-05/0.02025, allocations: 184.2 kB / 306.8 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.711e-05/0.02029, allocations: 180.3 kB / 307 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.02041, allocations: 311.7 kB / 307.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.02047, allocations: 180.3 kB / 307.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.02053, allocations: 108.9 kB / 307.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.02058, allocations: 180.3 kB / 307.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.02061, allocations: 108.9 kB / 307.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.279e-05/0.02064, allocations: 4.859 kB / 307.9 MB, free: 7.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02064, allocations: 4.094 kB / 307.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.02077, allocations: 7.938 kB / 307.9 MB, free: 7.918 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.0001154/0.02089, allocations: 151.7 kB / 308.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.687e-05/0.02094, allocations: 0 / 308.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.02094, allocations: 0 / 308.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.467e-06/0.02095, allocations: 3.938 kB / 308.1 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.02117, allocations: 463.7 kB / 308.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.02135, allocations: 158.1 kB / 308.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.02138, allocations: 55.3 kB / 308.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.02141, allocations: 7.984 kB / 308.7 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.02146, allocations: 55.38 kB / 308.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02146, allocations: 0 / 308.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of Templates: time 0.002154/0.02361, allocations: 385.3 kB / 309.2 MB, free: 6.602 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.119353367947042]