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.001316/0.001316, allocations: 117.1 kB / 19.12 MB, free: 3.941 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.00141/0.00141, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.478/1.478, allocations: 227.4 MB / 252.3 MB, free: 112 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.2311/0.2311, allocations: 46.16 MB / 351.8 MB, free: 14.31 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.002292/0.002293, allocations: 81.39 kB / 490.8 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 62.44 MB / 0.5403 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00179/0.1428, allocations: 489 kB / 0.5408 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1462, allocations: 2.128 MB / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.1462, allocations: 0 / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1463, allocations: 0 / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.118e-05/0.1463, allocations: 0 / 0.5429 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1475, allocations: 414.7 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.1476, allocations: 3.984 kB / 0.5433 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.599e-05/0.1476, allocations: 4 kB / 0.5433 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.1477, allocations: 0 / 0.5433 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02011/0.1678, allocations: 3.362 MB / 0.5465 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1678, allocations: 0 / 0.5465 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1679, allocations: 11.97 kB / 0.5466 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.168, allocations: 0 / 0.5466 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.168, allocations: 0 / 0.5466 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1682, allocations: 8 kB / 0.5466 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1682, allocations: 0 / 0.5466 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.48e-06/0.1682, allocations: 4 kB / 0.5466 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1682, allocations: 3.938 kB / 0.5466 GB, free: 14.48 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.0004659/0.1687, allocations: 315.5 kB / 0.5469 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.1688, allocations: 12.03 kB / 0.5469 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.169, allocations: 92.2 kB / 0.547 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1692, allocations: 235.7 kB / 0.5472 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.1693, allocations: 150.9 kB / 0.5473 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.643e-05/0.1694, allocations: 154.9 kB / 0.5475 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1696, allocations: 109.3 kB / 0.5476 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.1696, allocations: 75.28 kB / 0.5477 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.1697, allocations: 154.6 kB / 0.5478 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.249e-05/0.1698, allocations: 150.6 kB / 0.548 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.1699, allocations: 154.5 kB / 0.5481 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1703, allocations: 449.9 kB / 0.5485 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1704, allocations: 165.1 kB / 0.5487 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1705, allocations: 84.14 kB / 0.5488 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1705, allocations: 75.28 kB / 0.5488 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.468e-05/0.1706, allocations: 117.7 kB / 0.549 GB, free: 11.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 3.106e-06/0.1706, allocations: 7.984 kB / 0.549 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.669e-05/0.1707, allocations: 25.7 kB / 0.549 GB, free: 11.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.1708, allocations: 182.1 kB / 0.5492 GB, free: 11.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.171, allocations: 93.84 kB / 0.5493 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.171, allocations: 25.7 kB / 0.5493 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.171, allocations: 80.14 kB / 0.5494 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.171, allocations: 3.938 kB / 0.5494 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1711, allocations: 17.84 kB / 0.5494 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1713, allocations: 314.8 kB / 0.5497 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-06/0.1713, allocations: 0 / 0.5497 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.1713, allocations: 13.72 kB / 0.5497 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.1714, allocations: 75.28 kB / 0.5498 GB, free: 10.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.543e-05/0.1714, allocations: 79.22 kB / 0.5498 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.568e-05/0.1715, allocations: 29.7 kB / 0.5499 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.1715, allocations: 83.22 kB / 0.5499 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/0.1716, allocations: 83.3 kB / 0.55 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.1717, allocations: 154.5 kB / 0.5502 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.1717, allocations: 83.28 kB / 0.5502 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.186e-05/0.1718, allocations: 154.5 kB / 0.5504 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.1719, allocations: 75.28 kB / 0.5505 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.172, allocations: 79.28 kB / 0.5505 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.0001442/0.1721, allocations: 260.4 kB / 0.5508 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.1722, allocations: 116.9 kB / 0.5509 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.988e-05/0.1723, allocations: 115.9 kB / 0.551 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/0.1723, allocations: 180.2 kB / 0.5512 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.398e-05/0.1724, allocations: 180.2 kB / 0.5514 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/0.1725, allocations: 180.3 kB / 0.5515 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1728, allocations: 413.2 kB / 0.5519 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.619e-05/0.1729, allocations: 101 kB / 0.552 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.1729, allocations: 104.9 kB / 0.5521 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-05/0.173, allocations: 188.2 kB / 0.5523 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.1731, allocations: 180.6 kB / 0.5525 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.695e-05/0.1732, allocations: 184.2 kB / 0.5526 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.1732, allocations: 176.3 kB / 0.5528 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1734, allocations: 311.8 kB / 0.5531 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1735, allocations: 186 kB / 0.5533 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1737, allocations: 188.2 kB / 0.5535 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1738, allocations: 101 kB / 0.5536 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1739, allocations: 188.2 kB / 0.5537 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.1739, allocations: 105 kB / 0.5538 GB, free: 6.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.174, allocations: 75.28 kB / 0.5539 GB, free: 6.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.174, allocations: 0 / 0.5539 GB, free: 6.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1743, allocations: 8.094 kB / 0.5539 GB, free: 6.469 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.0001826/0.1745, allocations: 166.5 kB / 0.5541 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.974e-05/0.1746, allocations: 3.938 kB / 0.5541 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1746, allocations: 0 / 0.5541 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.1746, allocations: 0 / 0.5541 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1751, allocations: 467.6 kB / 0.5545 GB, free: 5.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1755, allocations: 178 kB / 0.5547 GB, free: 5.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.176, allocations: 0.669 MB / 0.5554 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.176, allocations: 7.438 kB / 0.5554 GB, free: 4.918 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.176, allocations: 4 kB / 0.5554 GB, free: 4.914 MB / 414.1 MB Notification: Performance of Templates: time 0.002925/0.179, allocations: 359.8 kB / 0.5557 GB, free: 4.562 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.1994311129674315]