Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008942/0.0008943, allocations: 185.6 kB / 17.41 MB, free: 4.258 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000807/0.0008069, allocations: 102.3 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3799/0.3799, allocations: 43.56 MB / 363.8 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5771, allocations: 88.07 MB / 0.5659 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.5775, allocations: 71.97 kB / 0.566 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03022/0.6077, allocations: 11.04 MB / 0.5768 GB, free: 3.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6077, allocations: 4 kB / 0.5768 GB, free: 3.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.486e-05/0.6078, allocations: 8 kB / 0.5768 GB, free: 3.129 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001152/0.6089, allocations: 0.735 MB / 0.5775 GB, free: 2.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.609, allocations: 16.03 kB / 0.5775 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.6091, allocations: 52.28 kB / 0.5776 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.6099, allocations: 443.9 kB / 0.578 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6099, allocations: 17.11 kB / 0.578 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.61, allocations: 16.36 kB / 0.578 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.6104, allocations: 209.6 kB / 0.5782 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6104, allocations: 4.125 kB / 0.5782 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.6105, allocations: 11.94 kB / 0.5783 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.6105, allocations: 11.92 kB / 0.5783 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.6108, allocations: 103.9 kB / 0.5784 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6118, allocations: 0.8916 MB / 0.5792 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.6125, allocations: 305.2 kB / 0.5795 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.6127, allocations: 100.2 kB / 0.5796 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.6127, allocations: 4 kB / 0.5796 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.6132, allocations: 242.9 kB / 0.5799 GB, free: 15.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.445e-06/0.6132, allocations: 0 / 0.5799 GB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.00196/0.6151, allocations: 0.9987 MB / 0.5808 GB, free: 14.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6153, allocations: 158.2 kB / 0.581 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.616, allocations: 0.6199 MB / 0.5816 GB, free: 13.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.6161, allocations: 33.7 kB / 0.5816 GB, free: 13.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.6162, allocations: 221 kB / 0.5818 GB, free: 13.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.6164, allocations: 126.3 kB / 0.582 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.6164, allocations: 4 kB / 0.582 GB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6166, allocations: 374.8 kB / 0.5823 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.6168, allocations: 108.8 kB / 0.5824 GB, free: 13.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.6171, allocations: 184.8 kB / 0.5826 GB, free: 12.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.6176, allocations: 308.8 kB / 0.5829 GB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6177, allocations: 4 kB / 0.5829 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007157/0.6184, allocations: 400.7 kB / 0.5833 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6184, allocations: 5.25 kB / 0.5833 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6184, allocations: 13.8 kB / 0.5833 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6184, allocations: 4 kB / 0.5833 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.6188, allocations: 79.84 kB / 0.5834 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.6188, allocations: 12.53 kB / 0.5834 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.619, allocations: 20 kB / 0.5834 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.619, allocations: 19.98 kB / 0.5834 GB, free: 11.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002459/0.6193, allocations: 208.2 kB / 0.5836 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.6194, allocations: 63.23 kB / 0.5837 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.6203, allocations: 489 kB / 0.5841 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.6203, allocations: 8 kB / 0.5842 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6203, allocations: 0 / 0.5842 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.6203, allocations: 3.984 kB / 0.5842 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.6221, allocations: 1.37 MB / 0.5855 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6222, allocations: 7.938 kB / 0.5855 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.6223, allocations: 60.06 kB / 0.5856 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6223, allocations: 4 kB / 0.5856 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.6224, allocations: 23.98 kB / 0.5856 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6224, allocations: 4 kB / 0.5856 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6224, allocations: 3.938 kB / 0.5856 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.6235, allocations: 0.8434 MB / 0.5864 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.6236, allocations: 164.3 kB / 0.5866 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.6237, allocations: 16 kB / 0.5866 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.624, allocations: 23.98 kB / 0.5866 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.6241, allocations: 35.89 kB / 0.5866 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.6242, allocations: 23.98 kB / 0.5867 GB, free: 8.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005474/0.6247, allocations: 454.8 kB / 0.5871 GB, free: 8.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6247, allocations: 0 / 0.5871 GB, free: 8.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005565/0.6253, allocations: 107.9 kB / 0.5872 GB, free: 7.926 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001122/0.6264, allocations: 0.494 MB / 0.5877 GB, free: 7.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006124/0.6271, allocations: 311.4 kB / 0.588 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6271, allocations: 0 / 0.588 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.6274, allocations: 163.7 kB / 0.5881 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6286, allocations: 132.3 kB / 0.5883 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6301, allocations: 1.041 MB / 0.5893 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.6306, allocations: 0.8512 MB / 0.5901 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.6308, allocations: 59.41 kB / 0.5902 GB, free: 4.898 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6308, allocations: 4 kB / 0.5902 GB, free: 4.895 MB / 410.7 MB Notification: Performance of Templates: time 0.00981/0.6406, allocations: 6.519 MB / 0.5965 GB, free: 14.39 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches