Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 80.75 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1436, allocations: 62.44 MB / 480.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004234/0.1479, allocations: 2.284 MB / 483 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1504, allocations: 1.31 MB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.1507, allocations: 7.875 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.1512, allocations: 127.3 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.1519, allocations: 238.9 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.1525, allocations: 187.5 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.1532, allocations: 454.7 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.1534, allocations: 65.06 kB / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1538, allocations: 263.2 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.154, allocations: 159.1 kB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.1541, allocations: 16 kB / 485.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1543, allocations: 75.97 kB / 485.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1544, allocations: 131.5 kB / 486 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.1547, allocations: 186.5 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.1552, allocations: 434.5 kB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1552, allocations: 0 / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1552, allocations: 4 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.1552, allocations: 0 / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0011/0.1563, allocations: 0.8167 MB / 487.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1564, allocations: 9.109 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1565, allocations: 64.09 kB / 487.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.157, allocations: 412.5 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.157, allocations: 12.38 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.1571, allocations: 24.03 kB / 487.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.1575, allocations: 189 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1575, allocations: 8 kB / 488.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1575, allocations: 4 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1575, allocations: 7.984 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.1578, allocations: 95.86 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.1587, allocations: 0.7975 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.1594, allocations: 246.5 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1596, allocations: 91.52 kB / 489.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1596, allocations: 12.22 kB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.16, allocations: 204.2 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.784e-06/0.16, allocations: 0 / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002411/0.1625, allocations: 1.122 MB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.1625, allocations: 140.5 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.1634, allocations: 0.7931 MB / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1634, allocations: 37.7 kB / 491.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1636, allocations: 240.9 kB / 491.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1637, allocations: 138.1 kB / 492 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1638, allocations: 82.03 kB / 492.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.164, allocations: 374.8 kB / 492.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1642, allocations: 116.8 kB / 492.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1645, allocations: 191.1 kB / 492.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.165, allocations: 318.9 kB / 493.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.165, allocations: 0 / 493.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007419/0.1657, allocations: 432.7 kB / 493.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1658, allocations: 12 kB / 493.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1658, allocations: 0 / 493.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1658, allocations: 4 kB / 493.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1661, allocations: 91.89 kB / 493.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1661, allocations: 0 / 493.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1662, allocations: 15.94 kB / 493.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1663, allocations: 23.98 kB / 493.6 MB, free: 7.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002496/0.1665, allocations: 231.9 kB / 493.9 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.1666, allocations: 71.16 kB / 493.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1668, allocations: 76.92 kB / 494 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1668, allocations: 4 kB / 494 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.1668, allocations: 0 / 494 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1668, allocations: 15.86 kB / 494 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.1685, allocations: 1.311 MB / 495.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.1685, allocations: 4.375 kB / 495.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1687, allocations: 63.86 kB / 495.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1687, allocations: 4 kB / 495.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1687, allocations: 15.98 kB / 495.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1688, allocations: 7.938 kB / 495.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1688, allocations: 4 kB / 495.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.1697, allocations: 0.7851 MB / 496.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1699, allocations: 168.3 kB / 496.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.17, allocations: 16 kB / 496.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.1702, allocations: 19.98 kB / 496.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.1703, allocations: 43.83 kB / 496.5 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.1704, allocations: 24 kB / 496.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.171, allocations: 0.5849 MB / 497.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.171, allocations: 0 / 497.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1715, allocations: 84 kB / 497.2 MB, free: 4.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001187/0.1727, allocations: 0.5245 MB / 497.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.1734, allocations: 331.6 kB / 498 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1734, allocations: 0 / 498 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.1738, allocations: 163.7 kB / 498.2 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.1747, allocations: 128.7 kB / 498.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1762, allocations: 1.119 MB / 499.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.1767, allocations: 0.886 MB / 0.4886 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1768, allocations: 51.42 kB / 0.4886 GB, free: 1.145 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1768, allocations: 0 / 0.4886 GB, free: 1.145 MB / 366.1 MB Notification: Performance of Templates: time 0.009881/0.1867, allocations: 6.465 MB / 0.4949 GB, free: 10.71 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches