Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001292/0.001292, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.11 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003331/0.1675, allocations: 1.718 MB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1689, allocations: 0.8497 MB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.169, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1694, allocations: 55.8 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.1696, allocations: 59.81 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1698, allocations: 91.45 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.17, allocations: 83.7 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1701, allocations: 4 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.1701, allocations: 43.83 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.1702, allocations: 39.73 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1703, allocations: 0 / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.1703, allocations: 31.98 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.1704, allocations: 23.91 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1705, allocations: 39.67 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1707, allocations: 111.9 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1707, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1707, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1707, allocations: 3.938 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005889/0.1713, allocations: 430.8 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1713, allocations: 12.03 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1714, allocations: 12.75 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1717, allocations: 216 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1717, allocations: 4.359 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1717, allocations: 4.125 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1718, allocations: 45.69 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1719, allocations: 0 / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1719, allocations: 3.984 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1719, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.172, allocations: 19.94 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1722, allocations: 197.7 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1724, allocations: 46.62 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1724, allocations: 24.78 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1725, allocations: 0 / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1727, allocations: 75.33 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1727, allocations: 0 / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003013/0.173, allocations: 101.5 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1731, allocations: 55.39 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1733, allocations: 258.9 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1733, allocations: 25.7 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1734, allocations: 112.1 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1735, allocations: 19.89 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1735, allocations: 17.72 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1736, allocations: 326.8 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.1737, allocations: 19.92 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.1738, allocations: 37.64 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.322e-05/0.1739, allocations: 41.66 kB / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1739, allocations: 4 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.1741, allocations: 93.36 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1741, allocations: 4 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1741, allocations: 0 / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1741, allocations: 4 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.1742, allocations: 8 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1742, allocations: 160 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1743, allocations: 7.938 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1743, allocations: 0 / 473.9 MB, free: 9.254 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001321/0.1744, allocations: 145 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1745, allocations: 19.8 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1745, allocations: 16.98 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1745, allocations: 4 kB / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.1745, allocations: 0 / 474 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1745, allocations: 3.938 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1747, allocations: 193.6 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1747, allocations: 0 / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.1747, allocations: 4.312 kB / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1747, allocations: 0 / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1748, allocations: 15.98 kB / 474.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1748, allocations: 0 / 474.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1748, allocations: 0 / 474.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.175, allocations: 112.9 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.175, allocations: 88.92 kB / 474.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1751, allocations: 4 kB / 474.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.1751, allocations: 0 / 474.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1751, allocations: 11.98 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1752, allocations: 4 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1753, allocations: 192.2 kB / 474.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.344e-06/0.1753, allocations: 0 / 474.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.1756, allocations: 23.94 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009563/0.1765, allocations: 410.1 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1767, allocations: 43.97 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1767, allocations: 4.062 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.1768, allocations: 19.94 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1771, allocations: 31.91 kB / 475.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.1776, allocations: 268.5 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1779, allocations: 0.716 MB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.1779, allocations: 16.34 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.178, allocations: 15.44 kB / 476.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.178, allocations: 0 / 476.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of Templates: time 0.004209/0.1822, allocations: 1.46 MB / 477.6 MB, free: 5.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches