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.001862/0.001862, allocations: 122.7 kB / 18.46 MB, free: 4.566 MB / 14.72 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.002334/0.002334, allocations: 207.3 kB / 21.41 MB, free: 1.621 MB / 14.72 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.466/1.466, allocations: 227.4 MB / 251.6 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] 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.2396/0.2396, allocations: 46.17 MB / 351.1 MB, free: 14.33 MB / 286.1 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 0.002293/0.002293, allocations: 80.2 kB / 490.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1457, allocations: 62.45 MB / 0.5397 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001598/0.1474, allocations: 489 kB / 0.5401 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.1511, allocations: 2.124 MB / 0.5422 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1512, allocations: 4 kB / 0.5422 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.1512, allocations: 0 / 0.5422 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.611e-05/0.1513, allocations: 3.938 kB / 0.5422 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1526, allocations: 406.7 kB / 0.5426 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.1527, allocations: 4 kB / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.1527, allocations: 0 / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.458e-05/0.1528, allocations: 0 / 0.5426 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02004/0.1728, allocations: 3.366 MB / 0.5459 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1729, allocations: 0 / 0.5459 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.173, allocations: 15.92 kB / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.173, allocations: 0 / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.173, allocations: 0 / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1732, allocations: 4 kB / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.1732, allocations: 4 kB / 0.5459 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1732, allocations: 4 kB / 0.5459 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1732, allocations: 0 / 0.5459 GB, free: 14.49 MB / 414.1 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.0004219/0.1737, allocations: 319.5 kB / 0.5462 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1737, allocations: 8.031 kB / 0.5462 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.174, allocations: 88.2 kB / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1743, allocations: 235.7 kB / 0.5465 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/0.1743, allocations: 154.9 kB / 0.5467 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.1744, allocations: 150.9 kB / 0.5468 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.1745, allocations: 109.2 kB / 0.5469 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.1745, allocations: 79.22 kB / 0.547 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.1746, allocations: 158.6 kB / 0.5471 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/0.1747, allocations: 154.5 kB / 0.5473 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.1748, allocations: 154.6 kB / 0.5474 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1751, allocations: 441.9 kB / 0.5479 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.1752, allocations: 169.1 kB / 0.548 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1753, allocations: 88.08 kB / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1753, allocations: 79.28 kB / 0.5482 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.1754, allocations: 109.8 kB / 0.5483 GB, free: 11.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1754, allocations: 0 / 0.5483 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.116e-05/0.1755, allocations: 25.7 kB / 0.5483 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.1756, allocations: 182.1 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1758, allocations: 93.86 kB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1758, allocations: 29.81 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.1758, allocations: 84.14 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.1758, allocations: 0 / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1759, allocations: 13.72 kB / 0.5487 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.176, allocations: 310.8 kB / 0.549 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.176, allocations: 3.938 kB / 0.549 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.1761, allocations: 17.72 kB / 0.549 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.1761, allocations: 75.28 kB / 0.5491 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-05/0.1761, allocations: 79.31 kB / 0.5492 GB, free: 10.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.292e-05/0.1762, allocations: 33.7 kB / 0.5492 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.1763, allocations: 83.22 kB / 0.5493 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/0.1763, allocations: 83.2 kB / 0.5494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.133e-05/0.1764, allocations: 150.6 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.1764, allocations: 79.28 kB / 0.5496 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.436e-05/0.1765, allocations: 158.5 kB / 0.5497 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1766, allocations: 79.22 kB / 0.5498 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1767, allocations: 83.22 kB / 0.5499 GB, free: 10.16 MB / 414.1 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.0001717/0.1768, allocations: 260.4 kB / 0.5501 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.1769, allocations: 117 kB / 0.5502 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.177, allocations: 107.9 kB / 0.5503 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.866e-05/0.1771, allocations: 184.2 kB / 0.5505 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001216/0.1772, allocations: 176.3 kB / 0.5507 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.137e-05/0.1773, allocations: 192.1 kB / 0.5509 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1776, allocations: 397.2 kB / 0.5512 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.1776, allocations: 101 kB / 0.5513 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.1777, allocations: 108.9 kB / 0.5515 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-05/0.1777, allocations: 184.2 kB / 0.5516 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.1778, allocations: 188.5 kB / 0.5518 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.43e-05/0.1779, allocations: 176.3 kB / 0.552 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-05/0.178, allocations: 180.3 kB / 0.5521 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1782, allocations: 315.8 kB / 0.5524 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.1783, allocations: 190 kB / 0.5526 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.1784, allocations: 176.3 kB / 0.5528 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1785, allocations: 101 kB / 0.5529 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.1786, allocations: 188.2 kB / 0.5531 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.1786, allocations: 109 kB / 0.5532 GB, free: 6.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.1787, allocations: 75.28 kB / 0.5532 GB, free: 6.484 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1787, allocations: 0 / 0.5532 GB, free: 6.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.179, allocations: 8 kB / 0.5533 GB, free: 6.477 MB / 414.1 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.0001471/0.1791, allocations: 166.5 kB / 0.5534 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.459e-05/0.1792, allocations: 3.938 kB / 0.5534 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1792, allocations: 0 / 0.5534 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1792, allocations: 4.094 kB / 0.5534 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1796, allocations: 455.7 kB / 0.5539 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.1799, allocations: 152.3 kB / 0.554 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1802, allocations: 0.6729 MB / 0.5547 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.1802, allocations: 0 / 0.5547 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.1802, allocations: 11.44 kB / 0.5547 GB, free: 4.957 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1802, allocations: 4 kB / 0.5547 GB, free: 4.953 MB / 414.1 MB Notification: Performance of Templates: time 0.002726/0.183, allocations: 312.3 kB / 0.555 GB, free: 4.652 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.940459889359772]