Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 97.25 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.0009833, allocations: 173.2 kB / 16.58 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 222.7 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.499/0.499, allocations: 43.57 MB / 314.6 MB, free: 8.648 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005394, allocations: 20 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1644, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002811/0.1673, allocations: 1.924 MB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1693, allocations: 1.109 MB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1695, allocations: 7.938 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.1702, allocations: 259.4 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004705/0.1706, allocations: 235.1 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.1713, allocations: 291.5 kB / 446.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1719, allocations: 450.4 kB / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1721, allocations: 61.05 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.1724, allocations: 203.1 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.1727, allocations: 227 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.1728, allocations: 8 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1729, allocations: 39.97 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.1731, allocations: 99.58 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1732, allocations: 89.45 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.1736, allocations: 287.7 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1736, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1736, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1736, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001095/0.1747, allocations: 0.6891 MB / 448.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1748, allocations: 12.03 kB / 448.8 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.1749, allocations: 59.33 kB / 448.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.1754, allocations: 383 kB / 449.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1754, allocations: 12 kB / 449.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.1755, allocations: 15.98 kB / 449.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.1759, allocations: 214.5 kB / 449.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1759, allocations: 3.984 kB / 449.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.176, allocations: 8 kB / 449.5 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.176, allocations: 7.953 kB / 449.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.1762, allocations: 99.86 kB / 449.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.1772, allocations: 0.8449 MB / 450.4 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.1777, allocations: 289.2 kB / 450.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.178, allocations: 100.2 kB / 450.8 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.178, allocations: 11.98 kB / 450.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1785, allocations: 219.5 kB / 451 MB, free: 4.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1785, allocations: 0 / 451 MB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001948/0.1805, allocations: 0.9651 MB / 452 MB, free: 3.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.1806, allocations: 174.1 kB / 452.1 MB, free: 3.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.1813, allocations: 0.6159 MB / 452.8 MB, free: 2.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1813, allocations: 33.7 kB / 452.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1815, allocations: 225 kB / 453 MB, free: 2.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1817, allocations: 122.3 kB / 453.1 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.1817, allocations: 12 kB / 453.1 MB, free: 2.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1819, allocations: 366.8 kB / 453.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1821, allocations: 104.8 kB / 453.6 MB, free: 1.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.1824, allocations: 172.9 kB / 453.8 MB, free: 1.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1826, allocations: 119.9 kB / 453.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1826, allocations: 0 / 453.9 MB, free: 1.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006591/0.1833, allocations: 397 kB / 454.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1833, allocations: 8.156 kB / 454.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1833, allocations: 4 kB / 454.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1834, allocations: 7.938 kB / 454.3 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.1837, allocations: 87.83 kB / 454.4 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1837, allocations: 8 kB / 454.4 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1839, allocations: 19.98 kB / 454.4 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1839, allocations: 19.95 kB / 454.4 MB, free: 0.9961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002309/0.1841, allocations: 212.3 kB / 454.6 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.1842, allocations: 63.25 kB / 454.7 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1844, allocations: 67.84 kB / 454.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1844, allocations: 4 kB / 454.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1844, allocations: 0 / 454.8 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1844, allocations: 7.984 kB / 454.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3308/0.5152, allocations: 1.253 MB / 456 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.5153, allocations: 0 / 456 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5154, allocations: 54.41 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.5155, allocations: 6.5 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.5155, allocations: 15.7 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.5155, allocations: 9.406 kB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5155, allocations: 0 / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.5164, allocations: 0.8152 MB / 456.9 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5165, allocations: 135 kB / 457.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.5166, allocations: 17.89 kB / 457.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.5169, allocations: 22.14 kB / 457.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.517, allocations: 36.84 kB / 457.1 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.5171, allocations: 22.5 kB / 457.2 MB, free: 45.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004889/0.5176, allocations: 454.5 kB / 457.6 MB, free: 45.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5176, allocations: 0 / 457.6 MB, free: 45.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.5182, allocations: 84.53 kB / 457.7 MB, free: 45.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001189/0.5194, allocations: 481 kB / 458.2 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.5199, allocations: 292.8 kB / 458.4 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5199, allocations: 0 / 458.4 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.5202, allocations: 156.4 kB / 458.6 MB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/0.5211, allocations: 125 kB / 458.7 MB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.5224, allocations: 0.9411 MB / 459.7 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.5227, allocations: 0.8514 MB / 460.5 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.5229, allocations: 78.42 kB / 460.6 MB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.523, allocations: 53.31 kB / 460.6 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.375e-06/0.5231, allocations: 0 / 460.6 MB, free: 43.86 MB / 382.1 MB Notification: Performance of Templates: time 0.008913/0.532, allocations: 5.132 MB / 465.8 MB, free: 43.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches