Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 203.4 kB / 19.35 MB, free: 3.809 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.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2151/0.2151, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 77.02 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004973/0.1508, allocations: 2.288 MB / 483.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1536, allocations: 1.31 MB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1538, allocations: 7.938 kB / 485.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.1543, allocations: 139.2 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.155, allocations: 258.9 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1553, allocations: 191.5 kB / 485.6 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.1559, allocations: 458.7 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1561, allocations: 65.06 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003426/0.1564, allocations: 291.1 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1567, allocations: 167.1 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.1567, allocations: 16 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1569, allocations: 75.92 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.1571, allocations: 151.4 kB / 486.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1574, allocations: 198.3 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.158, allocations: 493.9 kB / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.158, allocations: 0 / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.158, allocations: 0 / 487.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.158, allocations: 4 kB / 487.5 MB, free: 14.42 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.001206/0.1592, allocations: 0.8864 MB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1593, allocations: 9.109 kB / 488.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1594, allocations: 72 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.16, allocations: 448.1 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.16, allocations: 8.375 kB / 488.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.1601, allocations: 20.12 kB / 488.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.1604, allocations: 193 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1605, allocations: 3.938 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1605, allocations: 4 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1605, allocations: 8 kB / 489.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.1607, allocations: 95.91 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.1617, allocations: 0.8326 MB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.1623, allocations: 242.5 kB / 490.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1625, allocations: 91.53 kB / 490.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.1625, allocations: 7.938 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.1628, allocations: 200.3 kB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.1629, allocations: 0 / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002363/0.1652, allocations: 1.163 MB / 491.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1653, allocations: 136.5 kB / 491.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.1663, allocations: 0.9614 MB / 492.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.1664, allocations: 41.69 kB / 492.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.1666, allocations: 261 kB / 493.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.1667, allocations: 138.1 kB / 493.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1669, allocations: 89.97 kB / 493.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.167, allocations: 326 kB / 493.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.1672, allocations: 116.8 kB / 493.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1675, allocations: 183.2 kB / 494 MB, free: 7.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.168, allocations: 319 kB / 494.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.168, allocations: 0 / 494.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000696/0.1687, allocations: 448.5 kB / 494.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1687, allocations: 8 kB / 494.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1687, allocations: 0 / 494.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1688, allocations: 4 kB / 494.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1691, allocations: 91.89 kB / 494.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1691, allocations: 4 kB / 494.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1692, allocations: 23.92 kB / 494.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1693, allocations: 19.94 kB / 494.9 MB, free: 6.66 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.0002775/0.1695, allocations: 259.9 kB / 495.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1697, allocations: 79.05 kB / 495.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.1698, allocations: 82.69 kB / 495.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1698, allocations: 4 kB / 495.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.1698, allocations: 4 kB / 495.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1699, allocations: 15.84 kB / 495.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1715, allocations: 1.33 MB / 496.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1715, allocations: 4 kB / 496.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1717, allocations: 63.84 kB / 496.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1717, allocations: 8.344 kB / 496.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1717, allocations: 23.92 kB / 496.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1717, allocations: 4 kB / 496.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1717, allocations: 4 kB / 496.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.1726, allocations: 0.785 MB / 497.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.1728, allocations: 180.2 kB / 497.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.1729, allocations: 19.98 kB / 497.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1731, allocations: 15.98 kB / 497.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.1732, allocations: 35.84 kB / 497.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.1733, allocations: 27.98 kB / 497.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.1739, allocations: 0.7021 MB / 498.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1739, allocations: 0 / 498.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.1744, allocations: 92 kB / 498.6 MB, free: 2.777 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.001206/0.1756, allocations: 0.5279 MB / 499.1 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.1763, allocations: 311.6 kB / 499.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1763, allocations: 8.188 kB / 499.5 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.1766, allocations: 159.8 kB / 499.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.1775, allocations: 128.9 kB / 499.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.179, allocations: 1.212 MB / 0.4892 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.1795, allocations: 0.9094 MB / 0.4901 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.1797, allocations: 87.28 kB / 0.4902 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1798, allocations: 55.41 kB / 0.4902 GB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1798, allocations: 4.75 kB / 0.4902 GB, free: 15.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01006/0.1899, allocations: 5.456 MB / 0.4956 GB, free: 10.08 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches