Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 103.5 kB / 17.04 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 196.1 kB / 17.97 MB, free: 5.113 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.806/1.806, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2713/0.2713, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 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.002482/0.002482, allocations: 73.44 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1643, allocations: 57.78 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003716/0.1681, allocations: 1.786 MB / 443.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1696, allocations: 0.8701 MB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1697, allocations: 3.938 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1703, allocations: 307.3 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1707, allocations: 219.4 kB / 445.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1711, allocations: 151.4 kB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.1714, allocations: 235.4 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.1715, allocations: 9.562 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1717, allocations: 139.5 kB / 445.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1719, allocations: 179.6 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.172, allocations: 8 kB / 445.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1721, allocations: 47.92 kB / 445.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1722, allocations: 135.6 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1724, allocations: 150.8 kB / 446.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1728, allocations: 366.7 kB / 446.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.1728, allocations: 0 / 446.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1728, allocations: 0 / 446.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1728, allocations: 0 / 446.5 MB, free: 1.559 MB / 318.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.001105/0.1739, allocations: 0.7306 MB / 447.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.174, allocations: 15.83 kB / 447.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.1741, allocations: 48.36 kB / 447.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.1747, allocations: 447.9 kB / 447.8 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1747, allocations: 4.359 kB / 447.8 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1747, allocations: 8.125 kB / 447.8 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1749, allocations: 87.25 kB / 447.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1749, allocations: 0 / 447.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.175, allocations: 3.984 kB / 447.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.175, allocations: 4 kB / 447.9 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1751, allocations: 27.98 kB / 447.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1755, allocations: 378.4 kB / 448.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1758, allocations: 105.2 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1759, allocations: 53.62 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.176, allocations: 0 / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1762, allocations: 105 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1762, allocations: 0 / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004941/0.1767, allocations: 196.9 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.1768, allocations: 85.09 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.178, allocations: 1.03 MB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.178, allocations: 29.7 kB / 449.9 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.1782, allocations: 232.1 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.1783, allocations: 27.64 kB / 450.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.1784, allocations: 29.72 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1786, allocations: 366.8 kB / 450.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.1787, allocations: 31.98 kB / 450.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1788, allocations: 63.36 kB / 450.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.179, allocations: 91.91 kB / 450.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.179, allocations: 4 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000344/0.1794, allocations: 168.8 kB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1794, allocations: 4 kB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1794, allocations: 4 kB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.1795, allocations: 0 / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1796, allocations: 27.92 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1796, allocations: 0 / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1797, allocations: 15.92 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1798, allocations: 4 kB / 450.9 MB, free: 12.9 MB / 334.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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.1801, allocations: 233.7 kB / 451.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.1801, allocations: 55.33 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.1803, allocations: 59.98 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1803, allocations: 4 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1803, allocations: 0 / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1803, allocations: 3.938 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1808, allocations: 345.3 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1808, allocations: 0 / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.1809, allocations: 11.98 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1809, allocations: 4 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1809, allocations: 0 / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1809, allocations: 4 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.1809, allocations: 128 / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.1813, allocations: 205.2 kB / 451.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1815, allocations: 140.4 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1816, allocations: 4 kB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.1817, allocations: 4 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.1818, allocations: 15.92 kB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1818, allocations: 4 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009413/0.1828, allocations: 0.7721 MB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1828, allocations: 0 / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1831, allocations: 40 kB / 452.8 MB, free: 10.91 MB / 334.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 (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.001145/0.1842, allocations: 423.7 kB / 453.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1845, allocations: 79.89 kB / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1845, allocations: 4 kB / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1846, allocations: 39.92 kB / 453.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1851, allocations: 72.23 kB / 453.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1864, allocations: 0.8591 MB / 454.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.187, allocations: 0.8427 MB / 455.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1872, allocations: 58.94 kB / 455.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.1872, allocations: 31.42 kB / 455.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1872, allocations: 0 / 455.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of Templates: time 0.009495/0.1968, allocations: 3.71 MB / 458.9 MB, free: 4.844 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches