Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008886, allocations: 96.62 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.001489/0.001489, allocations: 174.5 kB / 16.58 MB, free: 5.652 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.124/2.124, allocations: 205.4 MB / 222.8 MB, free: 5.824 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.4799/0.4799, allocations: 43.57 MB / 314.6 MB, free: 8.695 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.0005654/0.0005654, allocations: 12 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1645, allocations: 58.88 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00215/0.1667, allocations: 1.465 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1681, allocations: 0.8202 MB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.1682, allocations: 3.938 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.1688, allocations: 295.4 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.1691, allocations: 199.5 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1695, allocations: 115.8 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1698, allocations: 207.4 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.1698, allocations: 17.55 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.17, allocations: 115.6 kB / 446.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1702, allocations: 159.6 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1703, allocations: 4 kB / 446.2 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.1704, allocations: 35.98 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1705, allocations: 143.5 kB / 446.4 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.1706, allocations: 69.52 kB / 446.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.171, allocations: 283.7 kB / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.171, allocations: 0 / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.171, allocations: 0 / 446.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.171, allocations: 4 kB / 446.7 MB, free: 9.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008887/0.1719, allocations: 0.6726 MB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1719, allocations: 12.02 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.172, allocations: 51.34 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.1726, allocations: 427 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1726, allocations: 7.938 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1726, allocations: 4 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.1728, allocations: 87.36 kB / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1729, allocations: 0 / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1729, allocations: 0 / 448 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.1729, allocations: 7.953 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.173, allocations: 27.98 kB / 448 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.1734, allocations: 374.2 kB / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.1737, allocations: 105.2 kB / 448.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.1738, allocations: 41.69 kB / 448.5 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1738, allocations: 0 / 448.5 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.1741, allocations: 113 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1741, allocations: 3.938 kB / 448.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005002/0.1746, allocations: 201 kB / 448.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1747, allocations: 81.06 kB / 448.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1759, allocations: 1.038 MB / 450 MB, free: 5.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1759, allocations: 33.7 kB / 450 MB, free: 5.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1761, allocations: 228.1 kB / 450.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1762, allocations: 35.64 kB / 450.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1762, allocations: 0 / 450.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1764, allocations: 366.8 kB / 450.6 MB, free: 4.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.1765, allocations: 31.92 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/0.1766, allocations: 55.42 kB / 450.7 MB, free: 4.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.1767, allocations: 35.98 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1767, allocations: 0 / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.177, allocations: 161 kB / 450.9 MB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.177, allocations: 8 kB / 450.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.177, allocations: 3.984 kB / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1771, allocations: 0 / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1772, allocations: 31.98 kB / 450.9 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1772, allocations: 7.953 kB / 450.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.1773, allocations: 15.92 kB / 450.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1773, allocations: 4 kB / 451 MB, free: 4.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003323/0.1777, allocations: 221.6 kB / 451.2 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.1777, allocations: 51.34 kB / 451.2 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.903e-05/0.1779, allocations: 63.94 kB / 451.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1779, allocations: 3.938 kB / 451.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1779, allocations: 0 / 451.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1779, allocations: 7.953 kB / 451.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.1783, allocations: 337.5 kB / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1783, allocations: 0.625 kB / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1783, allocations: 8 kB / 451.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1783, allocations: 0 / 451.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.1783, allocations: 8 kB / 451.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1783, allocations: 4 kB / 451.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1783, allocations: 3.984 kB / 451.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.1787, allocations: 209.2 kB / 451.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.1789, allocations: 140.5 kB / 452 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.1789, allocations: 4.078 kB / 452 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.179, allocations: 7.938 kB / 452 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1791, allocations: 11.98 kB / 452 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.1791, allocations: 4 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008448/0.18, allocations: 0.7721 MB / 452.8 MB, free: 2.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.18, allocations: 4 kB / 452.8 MB, free: 2.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1803, allocations: 47.86 kB / 452.8 MB, free: 2.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001037/0.1813, allocations: 419.2 kB / 453.2 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1816, allocations: 83.89 kB / 453.3 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1816, allocations: 0 / 453.3 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.1817, allocations: 39.98 kB / 453.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1821, allocations: 66.33 kB / 453.4 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1834, allocations: 0.901 MB / 454.3 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.184, allocations: 0.8469 MB / 455.2 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1842, allocations: 54.94 kB / 455.2 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.1843, allocations: 31.44 kB / 455.3 MB, free: 168 kB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1843, allocations: 0 / 455.3 MB, free: 168 kB / 382.1 MB Notification: Performance of Templates: time 0.2214/0.4057, allocations: 3.376 MB / 458.6 MB, free: 45.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches