Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001166/0.001166, allocations: 175.2 kB / 16.76 MB, free: 5.023 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.704/1.704, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008084/0.0008086, allocations: 82.42 kB / 271.3 MB, free: 8.254 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.3852/0.3852, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005093, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 58.85 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.5681, allocations: 88.07 MB / 0.566 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5684, allocations: 79.95 kB / 0.566 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02968/0.5981, allocations: 11.03 MB / 0.5768 GB, free: 2.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5981, allocations: 0 / 0.5768 GB, free: 2.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.498e-05/0.5982, allocations: 8 kB / 0.5768 GB, free: 2.703 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.001356/0.5995, allocations: 0.7438 MB / 0.5775 GB, free: 1.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5996, allocations: 12.02 kB / 0.5776 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.5998, allocations: 52.28 kB / 0.5776 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/0.6007, allocations: 447.9 kB / 0.578 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.6007, allocations: 12.38 kB / 0.578 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.6008, allocations: 16.38 kB / 0.5781 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.6012, allocations: 214.3 kB / 0.5783 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6012, allocations: 192 / 0.5783 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6012, allocations: 11.92 kB / 0.5783 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6013, allocations: 4 kB / 0.5783 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.6015, allocations: 119.8 kB / 0.5784 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.6027, allocations: 0.8877 MB / 0.5793 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.6033, allocations: 297.2 kB / 0.5795 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.6035, allocations: 104.2 kB / 0.5796 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6035, allocations: 7.938 kB / 0.5797 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.6039, allocations: 242.9 kB / 0.5799 GB, free: 15.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.6039, allocations: 0 / 0.5799 GB, free: 15.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.002065/0.606, allocations: 0.9967 MB / 0.5809 GB, free: 14.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/0.6061, allocations: 162.2 kB / 0.581 GB, free: 14.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.6069, allocations: 0.612 MB / 0.5816 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.607, allocations: 41.7 kB / 0.5816 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.6072, allocations: 229 kB / 0.5819 GB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6073, allocations: 118.3 kB / 0.582 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.6073, allocations: 12 kB / 0.582 GB, free: 13.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6075, allocations: 366.8 kB / 0.5823 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.6077, allocations: 104.8 kB / 0.5824 GB, free: 12.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.608, allocations: 188.9 kB / 0.5826 GB, free: 12.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.6086, allocations: 304.5 kB / 0.5829 GB, free: 12.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6086, allocations: 4 kB / 0.5829 GB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007488/0.6093, allocations: 404.8 kB / 0.5833 GB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6094, allocations: 12 kB / 0.5833 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6094, allocations: 3.938 kB / 0.5833 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.6094, allocations: 4 kB / 0.5833 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.6097, allocations: 87.89 kB / 0.5834 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6097, allocations: 4 kB / 0.5834 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.6099, allocations: 23.98 kB / 0.5834 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.61, allocations: 12 kB / 0.5834 GB, free: 11.52 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.0002358/0.6102, allocations: 216.2 kB / 0.5836 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6103, allocations: 63.23 kB / 0.5837 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/0.6112, allocations: 485.5 kB / 0.5842 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.6112, allocations: 4 kB / 0.5842 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6113, allocations: 4 kB / 0.5842 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.6113, allocations: 4 kB / 0.5842 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.613, allocations: 1.382 MB / 0.5855 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.613, allocations: 0 / 0.5855 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.6132, allocations: 51.92 kB / 0.5856 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6132, allocations: 7.984 kB / 0.5856 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.6133, allocations: 16 kB / 0.5856 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.6133, allocations: 11.88 kB / 0.5856 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6133, allocations: 4 kB / 0.5856 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.6142, allocations: 0.8435 MB / 0.5864 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.6144, allocations: 160.3 kB / 0.5866 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.6146, allocations: 19.98 kB / 0.5866 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.6149, allocations: 19.98 kB / 0.5866 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.615, allocations: 43.89 kB / 0.5867 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.615, allocations: 19.98 kB / 0.5867 GB, free: 8.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006287/0.6157, allocations: 454.8 kB / 0.5871 GB, free: 7.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6157, allocations: 4 kB / 0.5871 GB, free: 7.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006416/0.6163, allocations: 103.9 kB / 0.5872 GB, free: 7.492 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.001354/0.6177, allocations: 0.4953 MB / 0.5877 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007221/0.6184, allocations: 304 kB / 0.588 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6184, allocations: 4 kB / 0.588 GB, free: 6.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.6188, allocations: 168.8 kB / 0.5882 GB, free: 6.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.62, allocations: 134.3 kB / 0.5883 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.6216, allocations: 0.9971 MB / 0.5893 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.6221, allocations: 0.8512 MB / 0.5901 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.6224, allocations: 83.3 kB / 0.5902 GB, free: 4.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6226, allocations: 63.41 kB / 0.5902 GB, free: 4.426 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6226, allocations: 0 / 0.5902 GB, free: 4.426 MB / 410.7 MB Notification: Performance of Templates: time 0.01274/0.6353, allocations: 5.754 MB / 0.5959 GB, free: 14.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches