Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001244/0.001244, allocations: 116.3 kB / 18.45 MB, free: 4.59 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.001357/0.001357, allocations: 209 kB / 21.41 MB, free: 1.645 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.627/1.627, allocations: 227.4 MB / 251.6 MB, free: 108 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.3036/0.3036, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 85.14 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1597, allocations: 62.44 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00339/0.1632, allocations: 1.651 MB / 0.5413 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1643, allocations: 0.5605 MB / 0.5419 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.1644, allocations: 0 / 0.5419 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.165, allocations: 443.2 kB / 0.5423 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.1655, allocations: 299.3 kB / 0.5426 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.1659, allocations: 131.8 kB / 0.5427 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1662, allocations: 171.6 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1663, allocations: 27.86 kB / 0.5429 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1665, allocations: 107.8 kB / 0.543 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1667, allocations: 211.6 kB / 0.5432 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1668, allocations: 4 kB / 0.5432 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.1669, allocations: 39.98 kB / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.167, allocations: 79.69 kB / 0.5433 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.1671, allocations: 106.9 kB / 0.5434 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1675, allocations: 258.6 kB / 0.5436 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1675, allocations: 4 kB / 0.5437 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1675, allocations: 0 / 0.5437 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1675, allocations: 0 / 0.5437 GB, free: 176 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008593/0.1684, allocations: 0.6452 MB / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1684, allocations: 8.031 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.1685, allocations: 48.66 kB / 0.5443 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1689, allocations: 300.6 kB / 0.5446 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1689, allocations: 12.36 kB / 0.5446 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.1689, allocations: 384 / 0.5446 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1691, allocations: 50.25 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1691, allocations: 192 / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1691, allocations: 7.938 kB / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1691, allocations: 0 / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.1692, allocations: 19.98 kB / 0.5447 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1698, allocations: 400.6 kB / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.17, allocations: 38.56 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1701, allocations: 16.86 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1701, allocations: 4.031 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.1702, allocations: 34.55 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1702, allocations: 4 kB / 0.5452 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006722/0.1709, allocations: 240.6 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1709, allocations: 51.41 kB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.1719, allocations: 0.8653 MB / 0.5463 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1719, allocations: 25.7 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1721, allocations: 220.1 kB / 0.5465 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1722, allocations: 23.83 kB / 0.5466 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1722, allocations: 17.72 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1724, allocations: 362.7 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.1725, allocations: 19.92 kB / 0.5469 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.1726, allocations: 28.03 kB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1727, allocations: 44.84 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1727, allocations: 4 kB / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002375/0.173, allocations: 121.3 kB / 0.5471 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.173, allocations: 4 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.173, allocations: 3.938 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.173, allocations: 0 / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.1731, allocations: 15.98 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1731, allocations: 3.938 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.1732, allocations: 4 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1732, allocations: 4 kB / 0.5472 GB, free: 12.33 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 (5): * Single equations (assignments): 5 * 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.0002199/0.1734, allocations: 217.7 kB / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.1735, allocations: 43.72 kB / 0.5474 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1738, allocations: 129.1 kB / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1738, allocations: 0 / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1738, allocations: 4 kB / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1738, allocations: 0 / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.1744, allocations: 466.4 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1744, allocations: 0 / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.1745, allocations: 12.3 kB / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1745, allocations: 0 / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1745, allocations: 8 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1745, allocations: 0 / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1745, allocations: 7.875 kB / 0.548 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1748, allocations: 223.2 kB / 0.5482 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.1749, allocations: 116.8 kB / 0.5483 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.175, allocations: 0 / 0.5483 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.1751, allocations: 8 kB / 0.5483 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1751, allocations: 7.938 kB / 0.5484 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1751, allocations: 3.984 kB / 0.5484 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006963/0.1758, allocations: 0.6511 MB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1758, allocations: 4 kB / 0.549 GB, free: 10.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1761, allocations: 20 kB / 0.549 GB, free: 10.33 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 (5): * Single equations (assignments): 5 * 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.00155/0.1777, allocations: 398.5 kB / 0.5494 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1779, allocations: 43.97 kB / 0.5494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1779, allocations: 0 / 0.5494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.178, allocations: 39.91 kB / 0.5495 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1784, allocations: 21.28 kB / 0.5495 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1797, allocations: 0.8022 MB / 0.5503 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.1802, allocations: 0.822 MB / 0.5511 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.1803, allocations: 15.75 kB / 0.5511 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.1803, allocations: 19.38 kB / 0.5511 GB, free: 8.266 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1804, allocations: 4 kB / 0.5511 GB, free: 8.262 MB / 414.1 MB Notification: Performance of Templates: time 0.005732/0.1861, allocations: 1.473 MB / 0.5526 GB, free: 6.793 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 5.4922353932634]