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.001022/0.001022, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001113/0.001113, allocations: 161 kB / 24.56 MB, free: 16 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.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.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.2786/0.2786, allocations: 34.26 MB / 295.7 MB, free: 0.668 MB / 266.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 2.485e-06/2.485e-06, allocations: 3.938 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.771e-05/4.02e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00195/0.00199, allocations: 497 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.005398, allocations: 2.14 MB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.00542, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.005445, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.261e-05/0.005467, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.007069, allocations: 410.3 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.007124, allocations: 15.98 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.00716, allocations: 0 / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.007187, allocations: 4 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.01777, allocations: 4.826 MB / 385.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.01779, allocations: 0 / 385.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.01788, allocations: 8 kB / 385.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.01789, allocations: 4 kB / 385.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.01791, allocations: 4 kB / 385.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.01806, allocations: 4 kB / 385.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01807, allocations: 3.984 kB / 385.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01807, allocations: 0 / 385.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.01807, allocations: 0 / 385.9 MB, free: 11.88 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.0002552/0.01833, allocations: 344.3 kB / 386.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01837, allocations: 12.03 kB / 386.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.01854, allocations: 128.1 kB / 386.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.01865, allocations: 235.8 kB / 386.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.01871, allocations: 238.8 kB / 386.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.01877, allocations: 238.8 kB / 387.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.463e-05/0.01883, allocations: 153.4 kB / 387.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.01887, allocations: 127.1 kB / 387.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.01893, allocations: 238.4 kB / 387.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.01898, allocations: 238.4 kB / 387.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.01905, allocations: 242.4 kB / 388 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.01928, allocations: 0.5641 MB / 388.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.01937, allocations: 273.4 kB / 388.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.01941, allocations: 130.9 kB / 389 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01943, allocations: 119.2 kB / 389.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.01948, allocations: 152.6 kB / 389.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.01948, allocations: 0 / 389.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.241e-05/0.01954, allocations: 33.64 kB / 389.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.01961, allocations: 229.9 kB / 389.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.01971, allocations: 161.9 kB / 389.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.01972, allocations: 25.7 kB / 389.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.01975, allocations: 126.9 kB / 389.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-06/0.01975, allocations: 0 / 389.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.01977, allocations: 23.55 kB / 389.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.01988, allocations: 496.1 kB / 390.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-06/0.01988, allocations: 0 / 390.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.01993, allocations: 70.78 kB / 390.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.01997, allocations: 119.2 kB / 390.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/0.01999, allocations: 119.2 kB / 390.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.226e-05/0.02004, allocations: 33.69 kB / 390.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.02008, allocations: 127.2 kB / 390.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.0201, allocations: 123.1 kB / 390.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.297e-05/0.02017, allocations: 246.3 kB / 391.2 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.729e-05/0.0202, allocations: 127.2 kB / 391.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.003e-05/0.02025, allocations: 242.4 kB / 391.5 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.02031, allocations: 123.2 kB / 391.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.02034, allocations: 123.1 kB / 391.8 MB, free: 5.754 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.000113/0.02045, allocations: 402.9 kB / 392.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.0205, allocations: 144.9 kB / 392.3 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.02054, allocations: 151.8 kB / 392.4 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/0.0206, allocations: 272 kB / 392.7 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-05/0.02066, allocations: 272 kB / 393 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.767e-05/0.02072, allocations: 268.1 kB / 393.2 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.02087, allocations: 495.9 kB / 393.7 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.02091, allocations: 152.8 kB / 393.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.02094, allocations: 148.9 kB / 394 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.507e-05/0.021, allocations: 272 kB / 394.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-05/0.02106, allocations: 268.1 kB / 394.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-05/0.02111, allocations: 272.1 kB / 394.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.806e-05/0.02117, allocations: 272 kB / 395.1 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.0213, allocations: 448 kB / 395.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.02134, allocations: 148.9 kB / 395.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.02141, allocations: 268.1 kB / 395.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.02147, allocations: 152.8 kB / 396.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.02153, allocations: 276.3 kB / 396.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.02156, allocations: 156.8 kB / 396.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.02163, allocations: 119.2 kB / 396.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02163, allocations: 0 / 396.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.02179, allocations: 0 / 396.6 MB, free: 0.707 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.0001075/0.02189, allocations: 210.4 kB / 396.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.43e-05/0.02195, allocations: 12.03 kB / 396.8 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02195, allocations: 0 / 396.8 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.02195, allocations: 0 / 396.8 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.02226, allocations: 0.7063 MB / 397.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.02247, allocations: 207 kB / 397.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.27e-05/0.0225, allocations: 55.34 kB / 397.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.288e-05/0.02252, allocations: 4 kB / 397.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.02254, allocations: 8.5 kB / 397.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02254, allocations: 0 / 397.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Templates: time 0.001853/0.02439, allocations: 353.8 kB / 398.1 MB, free: 15.11 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2401982150040567]