Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 85.8 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 168.2 kB / 24.82 MB, free: 8.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.091/1.091, allocations: 177 MB / 205.1 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3569/0.3569, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 379.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.17e-05, allocations: 6.25 kB / 379.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002072/0.002104, allocations: 0.4905 MB / 379.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.005928, allocations: 2.116 MB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.005964, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.005989, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.907e-05/0.006018, allocations: 0 / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.007817, allocations: 406.4 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.007874, allocations: 7.922 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.007916, allocations: 4 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.007952, allocations: 4 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.02005, allocations: 4.795 MB / 387 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.02007, allocations: 0 / 387 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.02017, allocations: 4 kB / 387 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.02019, allocations: 0 / 387 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.0202, allocations: 4 kB / 387 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.02034, allocations: 11.98 kB / 387 MB, free: 11.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.02035, allocations: 0 / 387 MB, free: 11.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.02035, allocations: 4 kB / 387 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.02036, allocations: 0 / 387 MB, free: 11.1 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.0002451/0.0206, allocations: 340.3 kB / 387.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.02064, allocations: 8.031 kB / 387.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.02084, allocations: 136 kB / 387.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.02095, allocations: 231.8 kB / 387.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.02102, allocations: 242.8 kB / 388 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.02109, allocations: 242.8 kB / 388.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.721e-05/0.02115, allocations: 145.5 kB / 388.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.02119, allocations: 123.3 kB / 388.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.02126, allocations: 242.8 kB / 388.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/0.02133, allocations: 242.3 kB / 388.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.0214, allocations: 242.4 kB / 389.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.02165, allocations: 0.5491 MB / 389.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.02176, allocations: 265.4 kB / 390 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.02181, allocations: 130.8 kB / 390.1 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.02185, allocations: 123.2 kB / 390.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.0219, allocations: 156.6 kB / 390.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 5.31e-07/0.0219, allocations: 0 / 390.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.846e-05/0.02196, allocations: 29.69 kB / 390.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.02205, allocations: 226 kB / 390.6 MB, free: 7.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.02214, allocations: 157.9 kB / 390.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.02215, allocations: 25.7 kB / 390.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.02223, allocations: 134.9 kB / 390.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/0.02223, allocations: 0 / 390.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.02226, allocations: 23.38 kB / 391 MB, free: 6.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.02239, allocations: 496.1 kB / 391.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.0224, allocations: 8.125 kB / 391.5 MB, free: 6.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.02244, allocations: 66.78 kB / 391.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.02247, allocations: 119.2 kB / 391.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-05/0.02251, allocations: 123.2 kB / 391.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.806e-05/0.02255, allocations: 25.7 kB / 391.8 MB, free: 6.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.0227, allocations: 131.2 kB / 391.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/0.02274, allocations: 123.1 kB / 392 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.679e-05/0.02282, allocations: 238.4 kB / 392.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.02286, allocations: 123.3 kB / 392.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.751e-05/0.02292, allocations: 246.3 kB / 392.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.02301, allocations: 123.1 kB / 392.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.02305, allocations: 135.2 kB / 392.9 MB, free: 4.996 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.0001567/0.02321, allocations: 394.9 kB / 393.3 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.02327, allocations: 152.8 kB / 393.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.02333, allocations: 151.8 kB / 393.6 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002442/0.02358, allocations: 264.1 kB / 393.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-05/0.02364, allocations: 268.1 kB / 394.1 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-05/0.02371, allocations: 272 kB / 394.4 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.02392, allocations: 488.5 kB / 394.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/0.02396, allocations: 148.8 kB / 395 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.024, allocations: 144.9 kB / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-05/0.02409, allocations: 272.1 kB / 395.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.02417, allocations: 272 kB / 395.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.132e-05/0.02425, allocations: 268.1 kB / 395.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-05/0.02434, allocations: 272 kB / 396.2 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.02452, allocations: 448 kB / 396.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.02458, allocations: 152.8 kB / 396.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.02467, allocations: 268.1 kB / 397 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.02475, allocations: 148.8 kB / 397.2 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.02484, allocations: 268.4 kB / 397.4 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004005/0.02524, allocations: 144.9 kB / 397.6 MB, free: 120 kB / 362.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.02529, allocations: 127.2 kB / 397.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02529, allocations: 3.938 kB / 397.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.02545, allocations: 4 kB / 397.7 MB, free: 15.98 MB / 378.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.0001259/0.02558, allocations: 210.4 kB / 397.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.02563, allocations: 11.97 kB / 397.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02563, allocations: 0 / 397.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.02563, allocations: 0 / 397.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.02594, allocations: 0.7023 MB / 398.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.02613, allocations: 199.1 kB / 398.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.02616, allocations: 59.45 kB / 398.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.02618, allocations: 3.984 kB / 398.9 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.02623, allocations: 82.14 kB / 399 MB, free: 14.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02623, allocations: 0 / 399 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Templates: time 0.001741/0.02798, allocations: 366.2 kB / 399.3 MB, free: 14.3 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2649540551938117]