Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001958/0.001958, allocations: 117.4 kB / 19.17 MB, free: 3.871 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.0024/0.0024, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.56/1.56, allocations: 230.3 MB / 255.2 MB, free: 15.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2611/0.2611, allocations: 46.91 MB / 358.2 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 83.84 kB / 0.4925 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1567, allocations: 66 MB / 0.557 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003491/0.1602, allocations: 1.872 MB / 0.5588 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.162, allocations: 1.048 MB / 0.5598 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.1621, allocations: 0 / 0.5598 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1623, allocations: 71.64 kB / 0.5599 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1627, allocations: 123.3 kB / 0.56 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.1632, allocations: 218.9 kB / 0.5602 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.1635, allocations: 199.4 kB / 0.5604 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1636, allocations: 13.56 kB / 0.5604 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1638, allocations: 91.67 kB / 0.5605 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.164, allocations: 103.6 kB / 0.5606 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.164, allocations: 12 kB / 0.5606 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1641, allocations: 47.98 kB / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1642, allocations: 43.78 kB / 0.5607 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.758e-05/0.1643, allocations: 71.58 kB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1646, allocations: 191.2 kB / 0.561 GB, free: 1.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1646, allocations: 0 / 0.561 GB, free: 1.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1646, allocations: 0 / 0.561 GB, free: 1.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1646, allocations: 4 kB / 0.561 GB, free: 1.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001198/0.1658, allocations: 0.5796 MB / 0.5615 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1659, allocations: 19.97 kB / 0.5616 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.1659, allocations: 16.84 kB / 0.5616 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1662, allocations: 237 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1662, allocations: 4.375 kB / 0.5618 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1663, allocations: 8.375 kB / 0.5618 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1668, allocations: 149.8 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1668, allocations: 4 kB / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1668, allocations: 0 / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1669, allocations: 0 / 0.562 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.1676, allocations: 171.7 kB / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.1685, allocations: 428.5 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.1693, allocations: 194.4 kB / 0.5627 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.1697, allocations: 88.77 kB / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1698, allocations: 4 kB / 0.5628 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/0.1704, allocations: 167.2 kB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1704, allocations: 112 / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.003945/0.1743, allocations: 0.8441 MB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1744, allocations: 55.41 kB / 0.5638 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.1747, allocations: 252.7 kB / 0.5641 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1747, allocations: 29.7 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.1748, allocations: 128.1 kB / 0.5642 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.1749, allocations: 39.7 kB / 0.5643 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.1749, allocations: 33.7 kB / 0.5643 GB, free: 13.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1751, allocations: 338.8 kB / 0.5646 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/0.1759, allocations: 175.8 kB / 0.5648 GB, free: 13.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.1766, allocations: 167.8 kB / 0.565 GB, free: 13.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1781, allocations: 375.9 kB / 0.5653 GB, free: 12.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1781, allocations: 4 kB / 0.5653 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001711/0.1798, allocations: 474.2 kB / 0.5658 GB, free: 12.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.1798, allocations: 59.41 kB / 0.5658 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1799, allocations: 0 / 0.5658 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1799, allocations: 0 / 0.5658 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.1803, allocations: 79.83 kB / 0.5659 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1803, allocations: 0 / 0.5659 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.1807, allocations: 71.84 kB / 0.566 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1807, allocations: 4 kB / 0.566 GB, free: 12.1 MB / 430.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001548/0.1809, allocations: 133.8 kB / 0.5661 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1809, allocations: 15.91 kB / 0.5661 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.1826, allocations: 430.5 kB / 0.5665 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1826, allocations: 0 / 0.5665 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1826, allocations: 3.984 kB / 0.5665 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1826, allocations: 3.938 kB / 0.5665 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.1846, allocations: 0.7287 MB / 0.5672 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1846, allocations: 11.92 kB / 0.5673 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.1849, allocations: 63.91 kB / 0.5673 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1849, allocations: 0 / 0.5673 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.185, allocations: 11.94 kB / 0.5673 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.185, allocations: 0 / 0.5673 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.185, allocations: 0 / 0.5673 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1866, allocations: 491 kB / 0.5678 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.1867, allocations: 89.02 kB / 0.5679 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1867, allocations: 7.938 kB / 0.5679 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.1871, allocations: 67.91 kB / 0.568 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.1873, allocations: 43.94 kB / 0.568 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.1873, allocations: 11.92 kB / 0.568 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1875, allocations: 185.6 kB / 0.5682 GB, free: 9.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 288 / 0.5682 GB, free: 9.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.1878, allocations: 43.95 kB / 0.5682 GB, free: 9.68 MB / 430.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001563/0.1894, allocations: 411.8 kB / 0.5686 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.1912, allocations: 478.3 kB / 0.5691 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1912, allocations: 4 kB / 0.5691 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.192, allocations: 175.8 kB / 0.5692 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1923, allocations: 41.58 kB / 0.5693 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1935, allocations: 396.3 kB / 0.5697 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.194, allocations: 0.7279 MB / 0.5704 GB, free: 7.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.1941, allocations: 23.44 kB / 0.5704 GB, free: 7.508 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1941, allocations: 3.938 kB / 0.5704 GB, free: 7.504 MB / 430.1 MB Notification: Performance of Templates: time 0.006113/0.2002, allocations: 3.313 MB / 0.5736 GB, free: 4.191 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 7.940960399995674]