Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008288/0.0008289, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008651/0.0008652, allocations: 174.1 kB / 16.58 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 2.102/2.102, allocations: 205.4 MB / 222.8 MB, free: 5.887 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.5228/0.5228, allocations: 43.57 MB / 314.6 MB, free: 8.652 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.0004949/0.0004949, allocations: 16 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002686/0.1671, allocations: 1.39 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1687, allocations: 0.7461 MB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.1688, allocations: 0 / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1691, allocations: 51.81 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1693, allocations: 47.81 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1696, allocations: 71.8 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.1698, allocations: 95.67 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1699, allocations: 8.219 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.17, allocations: 39.84 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.17, allocations: 31.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1701, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.1702, allocations: 39.97 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.1702, allocations: 19.92 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.1703, allocations: 41.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1705, allocations: 108 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1705, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1705, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1705, allocations: 3.938 kB / 445.5 MB, free: 10.32 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.0005918/0.1711, allocations: 422.7 kB / 445.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1712, allocations: 8.031 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1712, allocations: 15.81 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1715, allocations: 214.8 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1715, allocations: 4 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1715, allocations: 4 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1717, allocations: 57.66 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1717, allocations: 3.906 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1717, allocations: 0 / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1717, allocations: 3.953 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.1718, allocations: 19.98 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.1723, allocations: 292.9 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1724, allocations: 62.67 kB / 446.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.1725, allocations: 16.86 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1725, allocations: 7.984 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1727, allocations: 71.28 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/0.1727, allocations: 4 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005314/0.1733, allocations: 177.1 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1733, allocations: 59.33 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1736, allocations: 262.5 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1736, allocations: 25.7 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1737, allocations: 116 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1737, allocations: 23.73 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.1737, allocations: 0 / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1739, allocations: 334.8 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.1739, allocations: 16 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.174, allocations: 33.7 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.1741, allocations: 24 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1741, allocations: 0 / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.1743, allocations: 109.4 kB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1743, allocations: 4 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.1743, allocations: 4.031 kB / 447.9 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1743, allocations: 4 kB / 447.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.1744, allocations: 15.98 kB / 447.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1744, allocations: 0 / 447.9 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.1744, allocations: 8.188 kB / 447.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.1745, allocations: 0 / 447.9 MB, free: 7.715 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1746, allocations: 145.7 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1746, allocations: 19.77 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1747, allocations: 21.39 kB / 448.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1747, allocations: 4 kB / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1747, allocations: 384 / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1747, allocations: 0 / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.1751, allocations: 411.2 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1751, allocations: 4 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.1752, allocations: 8 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1752, allocations: 4 kB / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1752, allocations: 0 / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1752, allocations: 4.031 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1752, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1754, allocations: 204.2 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1755, allocations: 96.86 kB / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1756, allocations: 0 / 448.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.1756, allocations: 11.94 kB / 448.8 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1757, allocations: 11.98 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1757, allocations: 0 / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1759, allocations: 208 kB / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1759, allocations: 0 / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1762, allocations: 20 kB / 449 MB, free: 6.461 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 (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.001049/0.1772, allocations: 461.1 kB / 449.5 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1774, allocations: 63.89 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1774, allocations: 0 / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.1775, allocations: 31.92 kB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1779, allocations: 31.78 kB / 449.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.1784, allocations: 310.9 kB / 449.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.1788, allocations: 0.72 MB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.137e-05/0.1789, allocations: 12.88 kB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.1789, allocations: 15.44 kB / 450.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1789, allocations: 0 / 450.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of Templates: time 0.005153/0.1841, allocations: 1.618 MB / 452.3 MB, free: 3.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches