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.001232/0.001232, allocations: 102.7 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 12 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 63.57 MB / 482.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002832/0.1618, allocations: 1.899 MB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1639, allocations: 1.232 MB / 485.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1641, allocations: 8 kB / 485.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.1645, allocations: 103.5 kB / 485.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.1652, allocations: 199.2 kB / 485.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1657, allocations: 151.7 kB / 486 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.1662, allocations: 394.7 kB / 486.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1664, allocations: 49.27 kB / 486.4 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.1668, allocations: 227 kB / 486.7 MB, free: 256 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.167, allocations: 143.3 kB / 486.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.1671, allocations: 4 kB / 486.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.1673, allocations: 55.98 kB / 486.9 MB, free: 52 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1675, allocations: 119.5 kB / 487 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.1676, allocations: 97.38 kB / 487.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.168, allocations: 307.7 kB / 487.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1681, allocations: 0 / 487.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1681, allocations: 3.938 kB / 487.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1681, allocations: 0 / 487.4 MB, free: 15.53 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.001171/0.1693, allocations: 0.7585 MB / 488.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1693, allocations: 9.109 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1694, allocations: 59.25 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.17, allocations: 387.7 kB / 488.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1701, allocations: 15.98 kB / 488.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.1701, allocations: 12 kB / 488.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1705, allocations: 205.4 kB / 488.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.1706, allocations: 7.906 kB / 488.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1706, allocations: 4 kB / 488.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1706, allocations: 4 kB / 488.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1709, allocations: 95.81 kB / 488.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.172, allocations: 0.8054 MB / 489.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.1728, allocations: 242.5 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.173, allocations: 91.52 kB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.173, allocations: 12.22 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.1735, allocations: 190.4 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.1735, allocations: 8 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002904/0.1764, allocations: 1.106 MB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1766, allocations: 140.5 kB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.1776, allocations: 0.7969 MB / 492.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.1776, allocations: 37.7 kB / 492.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.1778, allocations: 244.9 kB / 492.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.178, allocations: 142.1 kB / 492.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.178, allocations: 8 kB / 492.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.1783, allocations: 374.8 kB / 493.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.1785, allocations: 108.8 kB / 493.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.1788, allocations: 191.1 kB / 493.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.179, allocations: 132.3 kB / 493.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.179, allocations: 4 kB / 493.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008608/0.1799, allocations: 428.9 kB / 493.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.18, allocations: 10.66 kB / 493.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.18, allocations: 0 / 493.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.18, allocations: 4 kB / 493.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1803, allocations: 87.91 kB / 494 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.1803, allocations: 7.984 kB / 494 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1804, allocations: 20.12 kB / 494 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.1805, allocations: 15.95 kB / 494.1 MB, free: 8.484 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 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.1807, allocations: 239.9 kB / 494.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.1808, allocations: 67.14 kB / 494.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.181, allocations: 76.92 kB / 494.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.181, allocations: 8 kB / 494.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.181, allocations: 3.938 kB / 494.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.181, allocations: 3.984 kB / 494.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.1827, allocations: 1.311 MB / 495.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1828, allocations: 4 kB / 495.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1829, allocations: 59.91 kB / 495.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.1829, allocations: 8 kB / 495.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.183, allocations: 15.98 kB / 495.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.183, allocations: 8.188 kB / 495.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.183, allocations: 8 kB / 495.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.1839, allocations: 0.7773 MB / 496.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.1841, allocations: 184.2 kB / 496.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.1842, allocations: 16 kB / 496.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.1844, allocations: 23.98 kB / 496.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1845, allocations: 39.84 kB / 496.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.1846, allocations: 24 kB / 496.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006361/0.1852, allocations: 0.581 MB / 497.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1852, allocations: 0 / 497.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005182/0.1857, allocations: 87.98 kB / 497.6 MB, free: 4.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.1871, allocations: 0.5359 MB / 498.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.1877, allocations: 299.7 kB / 498.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1877, allocations: 0 / 498.4 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.188, allocations: 168.3 kB / 498.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.1888, allocations: 107.8 kB / 498.7 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1906, allocations: 1.163 MB / 499.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.1912, allocations: 0.8863 MB / 0.489 GB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000248/0.1914, allocations: 91.28 kB / 0.4891 GB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1915, allocations: 55.41 kB / 0.4891 GB, free: 1.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1915, allocations: 0 / 0.4891 GB, free: 1.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01014/0.2017, allocations: 4.9 MB / 0.4939 GB, free: 12.74 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches