Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001502/0.001502, allocations: 123.9 kB / 18.46 MB, free: 4.586 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.001711/0.001711, allocations: 201.8 kB / 21.4 MB, free: 1.641 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.645/1.645, allocations: 227.4 MB / 251.7 MB, free: 248 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.2411/0.2411, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002325, allocations: 85.66 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1537, allocations: 62.44 MB / 0.5397 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004799/0.1586, allocations: 2.113 MB / 0.5418 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1614, allocations: 1.391 MB / 0.5431 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.1616, allocations: 11.94 kB / 0.5431 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1619, allocations: 55.52 kB / 0.5432 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.1624, allocations: 215 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1639, allocations: 0.6248 MB / 0.544 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.1645, allocations: 343 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1647, allocations: 88.56 kB / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1649, allocations: 143.4 kB / 0.5445 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1652, allocations: 211.1 kB / 0.5447 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.1652, allocations: 16 kB / 0.5448 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1654, allocations: 67.97 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1656, allocations: 151.6 kB / 0.545 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1658, allocations: 182.4 kB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.1664, allocations: 425.8 kB / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1664, allocations: 0 / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1664, allocations: 0 / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1664, allocations: 3.984 kB / 0.5455 GB, free: 14.2 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00117/0.1676, allocations: 0.8238 MB / 0.5464 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1676, allocations: 12.03 kB / 0.5464 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.1681, allocations: 96.47 kB / 0.5465 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.1688, allocations: 493 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1688, allocations: 4.375 kB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1689, allocations: 12.33 kB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1692, allocations: 171.4 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1692, allocations: 3.984 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1693, allocations: 4 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1693, allocations: 4 kB / 0.5471 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1696, allocations: 111.9 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1707, allocations: 0.7229 MB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.171, allocations: 133.2 kB / 0.5481 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1712, allocations: 65.81 kB / 0.5481 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.1712, allocations: 11.97 kB / 0.5481 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1713, allocations: 34.56 kB / 0.5482 GB, free: 11.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.1713, allocations: 0 / 0.5482 GB, free: 11.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002086/0.1734, allocations: 0.753 MB / 0.5489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.1735, allocations: 85.11 kB / 0.549 GB, free: 10.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.1745, allocations: 0.9063 MB / 0.5499 GB, free: 9.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1745, allocations: 29.7 kB / 0.5499 GB, free: 9.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1748, allocations: 272.3 kB / 0.5502 GB, free: 9.238 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.1748, allocations: 67.42 kB / 0.5502 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.1749, allocations: 41.69 kB / 0.5503 GB, free: 9.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1751, allocations: 370.8 kB / 0.5506 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1754, allocations: 119.9 kB / 0.5507 GB, free: 8.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1757, allocations: 129.6 kB / 0.5508 GB, free: 8.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.1763, allocations: 253.7 kB / 0.5511 GB, free: 8.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1763, allocations: 3.938 kB / 0.5511 GB, free: 8.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007666/0.1771, allocations: 341 kB / 0.5514 GB, free: 7.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1771, allocations: 10.03 kB / 0.5514 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1771, allocations: 0 / 0.5514 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1772, allocations: 0 / 0.5514 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1775, allocations: 59.89 kB / 0.5515 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1775, allocations: 0 / 0.5515 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1777, allocations: 19.97 kB / 0.5515 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.1777, allocations: 12 kB / 0.5515 GB, free: 7.809 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002727/0.178, allocations: 225.9 kB / 0.5517 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1781, allocations: 59.58 kB / 0.5518 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009074/0.179, allocations: 403.1 kB / 0.5522 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.179, allocations: 4 kB / 0.5522 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.179, allocations: 4 kB / 0.5522 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1791, allocations: 3.984 kB / 0.5522 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1805, allocations: 0.9425 MB / 0.5531 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1806, allocations: 11.94 kB / 0.5531 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1808, allocations: 55.94 kB / 0.5532 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1808, allocations: 0 / 0.5532 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1808, allocations: 4 kB / 0.5532 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1809, allocations: 0 / 0.5532 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1809, allocations: 0 / 0.5532 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.1817, allocations: 0.5232 MB / 0.5537 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1819, allocations: 140.7 kB / 0.5538 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.1819, allocations: 11.98 kB / 0.5538 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.1822, allocations: 15.98 kB / 0.5538 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.1822, allocations: 27.91 kB / 0.5539 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1823, allocations: 8 kB / 0.5539 GB, free: 5.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007538/0.183, allocations: 0.6591 MB / 0.5545 GB, free: 4.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.183, allocations: 384 / 0.5545 GB, free: 4.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.1834, allocations: 67.98 kB / 0.5546 GB, free: 4.559 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 (20): * Single equations (assignments): 20 * 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.001573/0.185, allocations: 404.9 kB / 0.555 GB, free: 4.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.1858, allocations: 259.8 kB / 0.5552 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1858, allocations: 0 / 0.5552 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.1861, allocations: 147.8 kB / 0.5554 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.1868, allocations: 82.8 kB / 0.5554 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1884, allocations: 1.02 MB / 0.5564 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.189, allocations: 0.8912 MB / 0.5573 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.1893, allocations: 99.19 kB / 0.5574 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1895, allocations: 47.42 kB / 0.5574 GB, free: 1.699 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1895, allocations: 0 / 0.5574 GB, free: 1.699 MB / 414.1 MB Notification: Performance of Templates: time 0.01044/0.1999, allocations: 4.521 MB / 0.5619 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.496397494338453]