Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 96.14 kB / 15.87 MB, free: 16 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.001182/0.001182, allocations: 204.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.4216/0.4216, allocations: 43.5 MB / 313.5 MB, free: 8.215 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.001807/0.001807, allocations: 74.55 kB / 382.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004029/0.1693, allocations: 1.753 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1708, allocations: 0.7962 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1709, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1714, allocations: 103.8 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1717, allocations: 71.72 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.172, allocations: 87.84 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1722, allocations: 99.69 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1724, allocations: 16.2 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1725, allocations: 51.77 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1726, allocations: 59.81 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1726, allocations: 0 / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1728, allocations: 39.98 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1728, allocations: 35.8 kB / 442.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1729, allocations: 43.7 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1731, allocations: 123.8 kB / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1731, allocations: 0 / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1731, allocations: 0 / 443.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1732, allocations: 0 / 443.1 MB, free: 11.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006273/0.1738, allocations: 426.8 kB / 443.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1738, allocations: 8.031 kB / 443.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.1739, allocations: 12.75 kB / 443.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1742, allocations: 228.8 kB / 443.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1742, allocations: 4.312 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.1742, allocations: 8.125 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1744, allocations: 61.61 kB / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1744, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1744, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1744, allocations: 0 / 443.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.1745, allocations: 19.98 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.175, allocations: 296.9 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1752, allocations: 54.62 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1752, allocations: 24.78 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1753, allocations: 4 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.1755, allocations: 67.39 kB / 444.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1755, allocations: 0 / 444.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006153/0.1761, allocations: 177.1 kB / 444.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1762, allocations: 55.41 kB / 444.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1765, allocations: 238.2 kB / 444.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1765, allocations: 33.69 kB / 444.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.1766, allocations: 108.1 kB / 444.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1766, allocations: 23.7 kB / 444.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.1767, allocations: 25.72 kB / 444.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1768, allocations: 330.8 kB / 445.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.1769, allocations: 23.94 kB / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.177, allocations: 37.69 kB / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1771, allocations: 61.7 kB / 445.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1771, allocations: 0 / 445.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.1773, allocations: 105.5 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1774, allocations: 8 kB / 445.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1774, allocations: 3.984 kB / 445.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1774, allocations: 0 / 445.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.1775, allocations: 12 kB / 445.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1775, allocations: 4 kB / 445.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1776, allocations: 7.938 kB / 445.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1776, allocations: 4 kB / 445.5 MB, free: 8.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001374/0.1777, allocations: 141.7 kB / 445.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1778, allocations: 19.8 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.1778, allocations: 17.41 kB / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1778, allocations: 0 / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1778, allocations: 384 / 445.7 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1779, allocations: 7.875 kB / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.1783, allocations: 399.3 kB / 446.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1783, allocations: 4 kB / 446.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1784, allocations: 12.03 kB / 446.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1784, allocations: 0 / 446.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1784, allocations: 11.94 kB / 446.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1784, allocations: 0 / 446.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1784, allocations: 192 / 446.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1787, allocations: 204.1 kB / 446.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.1787, allocations: 92.94 kB / 446.4 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1788, allocations: 15.94 kB / 446.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1788, allocations: 0 / 446.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1789, allocations: 7.984 kB / 446.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1789, allocations: 4 kB / 446.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.1791, allocations: 184.3 kB / 446.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1791, allocations: 0 / 446.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1794, allocations: 24 kB / 446.6 MB, free: 7.426 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001249/0.1807, allocations: 472.9 kB / 447.1 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1809, allocations: 63.91 kB / 447.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1809, allocations: 0 / 447.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.181, allocations: 27.92 kB / 447.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1814, allocations: 32.42 kB / 447.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.1821, allocations: 301 kB / 447.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.1825, allocations: 0.7121 MB / 448.2 MB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.1826, allocations: 8.891 kB / 448.2 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.1827, allocations: 19.42 kB / 448.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1827, allocations: 0 / 448.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of Templates: time 0.005869/0.1886, allocations: 1.657 MB / 449.9 MB, free: 4.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches