Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001097/0.001097, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001158/0.001158, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.041/1.041, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2664/0.2664, allocations: 32.81 MB / 294.3 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.109e-05, allocations: 6.25 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001333/0.001364, allocations: 496.9 kB / 376.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.004158, allocations: 2.128 MB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.004182, allocations: 0 / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.004209, allocations: 0 / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.54e-05/0.004234, allocations: 7.938 kB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.005338, allocations: 406.4 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.005391, allocations: 4 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.005439, allocations: 0 / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.005474, allocations: 7.984 kB / 379 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.01628, allocations: 4.827 MB / 383.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.0163, allocations: 0 / 383.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.01639, allocations: 7.984 kB / 383.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.01641, allocations: 0 / 383.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.01643, allocations: 4 kB / 383.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.01658, allocations: 11.98 kB / 383.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01659, allocations: 3.938 kB / 383.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01659, allocations: 0 / 383.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.0166, allocations: 0 / 383.9 MB, free: 13.89 MB / 362.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.0002922/0.01689, allocations: 352.3 kB / 384.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.01693, allocations: 11.97 kB / 384.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01713, allocations: 132.1 kB / 384.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.01724, allocations: 227.8 kB / 384.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.01729, allocations: 238.8 kB / 384.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.01735, allocations: 238.8 kB / 385.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/0.01741, allocations: 149.5 kB / 385.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.01744, allocations: 123.1 kB / 385.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.01751, allocations: 238.4 kB / 385.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.01757, allocations: 242.4 kB / 385.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.01763, allocations: 250.3 kB / 386 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.01787, allocations: 0.5642 MB / 386.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.01797, allocations: 269.4 kB / 386.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.01801, allocations: 126.9 kB / 387 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.01804, allocations: 119.2 kB / 387.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.01809, allocations: 156.6 kB / 387.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.0181, allocations: 7.938 kB / 387.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.635e-05/0.01816, allocations: 29.64 kB / 387.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.01825, allocations: 222 kB / 387.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.01837, allocations: 157.9 kB / 387.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.01838, allocations: 25.7 kB / 387.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.01842, allocations: 126.9 kB / 387.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.01842, allocations: 0 / 387.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.01844, allocations: 23.42 kB / 387.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01858, allocations: 0.4884 MB / 388.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.01858, allocations: 0 / 388.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.01863, allocations: 70.78 kB / 388.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.01867, allocations: 119.2 kB / 388.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.0187, allocations: 119.2 kB / 388.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.151e-05/0.01874, allocations: 33.64 kB / 388.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.01878, allocations: 130.5 kB / 388.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.01881, allocations: 119.2 kB / 388.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.402e-05/0.01889, allocations: 254.2 kB / 389.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.01893, allocations: 131.3 kB / 389.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.705e-05/0.01899, allocations: 242.3 kB / 389.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.01906, allocations: 123.2 kB / 389.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.01909, allocations: 119.2 kB / 389.7 MB, free: 7.762 MB / 362.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.0001296/0.01922, allocations: 395 kB / 390.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.01928, allocations: 148.8 kB / 390.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.01934, allocations: 159.9 kB / 390.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-05/0.0194, allocations: 276 kB / 390.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002466/0.01965, allocations: 264.1 kB / 391 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/0.01972, allocations: 268.1 kB / 391.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.01991, allocations: 499.8 kB / 391.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.414e-05/0.01994, allocations: 144.9 kB / 391.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.01998, allocations: 152.8 kB / 392 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-05/0.02004, allocations: 264.1 kB / 392.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.02011, allocations: 264.1 kB / 392.5 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001106/0.02022, allocations: 280 kB / 392.8 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.0203, allocations: 268 kB / 393.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.02044, allocations: 448 kB / 393.5 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.02049, allocations: 152.9 kB / 393.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.02056, allocations: 272 kB / 393.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.02063, allocations: 148.9 kB / 394.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.02071, allocations: 276.3 kB / 394.3 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.02087, allocations: 148.9 kB / 394.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.02091, allocations: 119.2 kB / 394.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02091, allocations: 0 / 394.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.02107, allocations: 0 / 394.6 MB, free: 2.727 MB / 362.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.0001319/0.0212, allocations: 214.4 kB / 394.8 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.02126, allocations: 16.06 kB / 394.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02126, allocations: 0 / 394.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.02127, allocations: 0 / 394.8 MB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.02159, allocations: 0.7101 MB / 395.5 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.02183, allocations: 207 kB / 395.7 MB, free: 1.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.02187, allocations: 55.36 kB / 395.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.0219, allocations: 0 / 395.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.02192, allocations: 12.44 kB / 395.8 MB, free: 1.457 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.02192, allocations: 0 / 395.8 MB, free: 1.457 MB / 362.7 MB Notification: Performance of Templates: time 0.002146/0.02406, allocations: 358.1 kB / 396.1 MB, free: 1.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.1652486557140946]