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.0009662/0.0009662, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001696/0.001696, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.038/1.038, allocations: 177 MB / 204.8 MB, free: 5.582 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.2786/0.2786, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] 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.924e-06/1.924e-06, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.909e-05, allocations: 7.297 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00449/0.004519, allocations: 487.7 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006336/0.01085, allocations: 2.143 MB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.01088, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.0109, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.311e-05/0.01093, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.01227, allocations: 410.4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.01232, allocations: 4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.01235, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.01238, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02926/0.04164, allocations: 4.784 MB / 386.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.04167, allocations: 4 kB / 386.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.04176, allocations: 4 kB / 386.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.04177, allocations: 3.984 kB / 386.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.0418, allocations: 0 / 386.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.04195, allocations: 12 kB / 386.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.04195, allocations: 0 / 386.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.04195, allocations: 0 / 386.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.04196, allocations: 0 / 386.6 MB, free: 11.35 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.00029/0.04225, allocations: 344.3 kB / 386.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.04229, allocations: 12.03 kB / 386.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.04248, allocations: 132.1 kB / 387.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.0426, allocations: 235.7 kB / 387.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.04266, allocations: 238.8 kB / 387.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.04272, allocations: 238.8 kB / 387.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.573e-05/0.04278, allocations: 145.5 kB / 387.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.04281, allocations: 127.4 kB / 388 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.04288, allocations: 238.8 kB / 388.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.04294, allocations: 242.3 kB / 388.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.043, allocations: 242.4 kB / 388.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.04331, allocations: 0.5719 MB / 389.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.0434, allocations: 265.4 kB / 389.6 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.04344, allocations: 130.9 kB / 389.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.04347, allocations: 123.2 kB / 389.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.04351, allocations: 160.6 kB / 390 MB, free: 7.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.04352, allocations: 0 / 390 MB, free: 7.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.04359, allocations: 33.64 kB / 390 MB, free: 7.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.04367, allocations: 225.9 kB / 390.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.04377, allocations: 149.9 kB / 390.4 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.04378, allocations: 25.7 kB / 390.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.04382, allocations: 134.9 kB / 390.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.04382, allocations: 4.125 kB / 390.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.04385, allocations: 19.42 kB / 390.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.044, allocations: 0.4923 MB / 391 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.04401, allocations: 0 / 391 MB, free: 6.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.04407, allocations: 66.78 kB / 391.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.0441, allocations: 123.2 kB / 391.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/0.04412, allocations: 119.2 kB / 391.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.8e-05/0.04417, allocations: 29.64 kB / 391.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.04421, allocations: 127.2 kB / 391.5 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.04424, allocations: 119.2 kB / 391.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.721e-05/0.04431, allocations: 246.3 kB / 391.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.208e-05/0.04434, allocations: 135.3 kB / 392 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.285e-05/0.04439, allocations: 242.3 kB / 392.2 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.04448, allocations: 123.1 kB / 392.3 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.04451, allocations: 123.2 kB / 392.5 MB, free: 5.219 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.0001209/0.04463, allocations: 395 kB / 392.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.04468, allocations: 152.8 kB / 393 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.04473, allocations: 151.9 kB / 393.1 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-05/0.0448, allocations: 268.1 kB / 393.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.57e-05/0.04487, allocations: 272 kB / 393.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.959e-05/0.04493, allocations: 264.1 kB / 393.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.04513, allocations: 0.4959 MB / 394.4 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/0.04517, allocations: 144.9 kB / 394.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.04521, allocations: 148.9 kB / 394.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.935e-05/0.04528, allocations: 268 kB / 395 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.04535, allocations: 268 kB / 395.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.385e-05/0.04543, allocations: 272 kB / 395.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.105e-05/0.0455, allocations: 268.1 kB / 395.8 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.04566, allocations: 451.9 kB / 396.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.04571, allocations: 148.9 kB / 396.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.04579, allocations: 272 kB / 396.6 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.04588, allocations: 152.9 kB / 396.8 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.04596, allocations: 272.3 kB / 397 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.046, allocations: 148.8 kB / 397.2 MB, free: 312 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.04605, allocations: 123.2 kB / 397.3 MB, free: 188 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.04605, allocations: 0 / 397.3 MB, free: 188 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.04622, allocations: 0 / 397.3 MB, free: 188 kB / 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.0001531/0.04637, allocations: 210.4 kB / 397.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.082e-05/0.04643, allocations: 8.016 kB / 397.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04643, allocations: 0 / 397.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.04644, allocations: 12.03 kB / 397.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.04678, allocations: 0.7099 MB / 398.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.04704, allocations: 199.1 kB / 398.4 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.04709, allocations: 55.3 kB / 398.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.04712, allocations: 0 / 398.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.04713, allocations: 8.5 kB / 398.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04713, allocations: 4 kB / 398.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of Templates: time 0.002036/0.04917, allocations: 365.8 kB / 398.8 MB, free: 14.57 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.2203774568624794]