Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001829/0.001829, allocations: 117.1 kB / 19.12 MB, free: 3.945 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.00222/0.00222, 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.476/1.476, allocations: 227.4 MB / 252.3 MB, free: 96 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.292/0.292, allocations: 46.16 MB / 351.8 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 81.77 kB / 490.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1499, allocations: 62.45 MB / 0.5404 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003438/0.1533, allocations: 1.67 MB / 0.542 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1546, allocations: 0.5839 MB / 0.5426 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.1546, allocations: 0 / 0.5426 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.1553, allocations: 455.1 kB / 0.543 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.1559, allocations: 295.3 kB / 0.5433 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.1563, allocations: 176.2 kB / 0.5435 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1566, allocations: 179.7 kB / 0.5436 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1568, allocations: 24.17 kB / 0.5437 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1569, allocations: 119.6 kB / 0.5438 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1572, allocations: 211.6 kB / 0.544 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1572, allocations: 8 kB / 0.544 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.1574, allocations: 51.97 kB / 0.544 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1575, allocations: 91.62 kB / 0.5441 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1576, allocations: 107 kB / 0.5442 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1581, allocations: 270.6 kB / 0.5445 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1581, allocations: 4 kB / 0.5445 GB, free: 28 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1581, allocations: 3.938 kB / 0.5445 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1581, allocations: 3.938 kB / 0.5445 GB, free: 20 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008591/0.159, allocations: 0.6607 MB / 0.5451 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.159, allocations: 16.03 kB / 0.5451 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.1591, allocations: 44.61 kB / 0.5452 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1595, allocations: 308.5 kB / 0.5455 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1595, allocations: 4.375 kB / 0.5455 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1595, allocations: 384 / 0.5455 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1597, allocations: 66.23 kB / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1597, allocations: 192 / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1597, allocations: 3.938 kB / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1598, allocations: 0 / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1599, allocations: 31.97 kB / 0.5456 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.1605, allocations: 412.6 kB / 0.546 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1606, allocations: 42.56 kB / 0.546 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.1607, allocations: 24.97 kB / 0.546 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1607, allocations: 11.97 kB / 0.5461 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1608, allocations: 34.56 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1608, allocations: 0 / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00105/0.1618, allocations: 320.5 kB / 0.5464 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1619, allocations: 51.41 kB / 0.5464 GB, free: 13.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/0.1628, allocations: 0.8738 MB / 0.5473 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1629, allocations: 29.7 kB / 0.5473 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1631, allocations: 228 kB / 0.5475 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.1631, allocations: 27.8 kB / 0.5476 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1632, allocations: 25.7 kB / 0.5476 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.1634, allocations: 362.7 kB / 0.5479 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1636, allocations: 31.97 kB / 0.548 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1637, allocations: 31.98 kB / 0.548 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.1639, allocations: 88.95 kB / 0.5481 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1639, allocations: 0 / 0.5481 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002794/0.1642, allocations: 149.3 kB / 0.5482 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1642, allocations: 4 kB / 0.5482 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1643, allocations: 0 / 0.5482 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1643, allocations: 0 / 0.5482 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1644, allocations: 23.98 kB / 0.5483 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1644, allocations: 7.938 kB / 0.5483 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.1645, allocations: 11.92 kB / 0.5483 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1645, allocations: 0 / 0.5483 GB, free: 11.91 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 (8): * Single equations (assignments): 8 * 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.0002158/0.1647, allocations: 217.7 kB / 0.5485 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.1648, allocations: 43.72 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.1652, allocations: 173.5 kB / 0.5487 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1652, allocations: 3.984 kB / 0.5487 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1652, allocations: 0 / 0.5487 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1652, allocations: 3.938 kB / 0.5487 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.1659, allocations: 0.5109 MB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1659, allocations: 4 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.166, allocations: 23.95 kB / 0.5492 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.166, allocations: 7.938 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1661, allocations: 4 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1661, allocations: 0 / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1661, allocations: 0 / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1664, allocations: 244.1 kB / 0.5495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.1665, allocations: 120.8 kB / 0.5496 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1665, allocations: 3.938 kB / 0.5496 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.1666, allocations: 11.98 kB / 0.5496 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1667, allocations: 4 kB / 0.5496 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1667, allocations: 0 / 0.5496 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006883/0.1674, allocations: 0.6628 MB / 0.5502 GB, free: 9.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 0.5502 GB, free: 9.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1677, allocations: 31.94 kB / 0.5503 GB, free: 9.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001696/0.1694, allocations: 459.2 kB / 0.5507 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1696, allocations: 79.94 kB / 0.5508 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1697, allocations: 4 kB / 0.5508 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1698, allocations: 43.91 kB / 0.5508 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1702, allocations: 29.3 kB / 0.5509 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1715, allocations: 0.8716 MB / 0.5517 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.172, allocations: 0.826 MB / 0.5525 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.172, allocations: 19.44 kB / 0.5525 GB, free: 7.531 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1721, allocations: 3.938 kB / 0.5525 GB, free: 7.527 MB / 414.1 MB Notification: Performance of Templates: time 0.008051/0.1801, allocations: 4.047 MB / 0.5565 GB, free: 3.477 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.907287967973389]