Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 194.5 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 226.5 MB / 244.1 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008664/0.0008664, allocations: 93.84 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3115/0.3115, allocations: 44.82 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2629, allocations: 62.95 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0984/0.3614, allocations: 90.87 MB / 0.6052 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.3616, allocations: 79.95 kB / 0.6053 GB, free: 14.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.3794, allocations: 7.254 MB / 0.6124 GB, free: 7.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3794, allocations: 3.938 kB / 0.6124 GB, free: 7.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.3794, allocations: 0 / 0.6124 GB, free: 7.203 MB / 426.7 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.0004664/0.3799, allocations: 431 kB / 0.6128 GB, free: 6.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.3799, allocations: 12.03 kB / 0.6128 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.38, allocations: 16.75 kB / 0.6128 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3803, allocations: 218 kB / 0.613 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3803, allocations: 8.359 kB / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3803, allocations: 384 / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3805, allocations: 71.52 kB / 0.6131 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3805, allocations: 0 / 0.6131 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3805, allocations: 0 / 0.6131 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3805, allocations: 4 kB / 0.6131 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.3806, allocations: 23.98 kB / 0.6131 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3809, allocations: 296.8 kB / 0.6134 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3811, allocations: 58.67 kB / 0.6135 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.3812, allocations: 20.84 kB / 0.6135 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3812, allocations: 8 kB / 0.6135 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.3813, allocations: 67.33 kB / 0.6136 GB, free: 5.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/0.3813, allocations: 0 / 0.6136 GB, free: 5.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.3818, allocations: 177.4 kB / 0.6137 GB, free: 5.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3819, allocations: 81.05 kB / 0.6138 GB, free: 5.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3821, allocations: 171.2 kB / 0.614 GB, free: 5.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3821, allocations: 25.7 kB / 0.614 GB, free: 5.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.3821, allocations: 104.1 kB / 0.6141 GB, free: 5.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3822, allocations: 27.64 kB / 0.6141 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3822, allocations: 0 / 0.6141 GB, free: 5.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.827e-05/0.3823, allocations: 326.8 kB / 0.6144 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.3824, allocations: 23.98 kB / 0.6145 GB, free: 4.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.3824, allocations: 38.56 kB / 0.6145 GB, free: 4.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3825, allocations: 69.67 kB / 0.6146 GB, free: 4.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3825, allocations: 0 / 0.6146 GB, free: 4.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.3827, allocations: 97.83 kB / 0.6147 GB, free: 4.629 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3828, allocations: 8.188 kB / 0.6147 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3828, allocations: 0 / 0.6147 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3828, allocations: 7.938 kB / 0.6147 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.3829, allocations: 23.92 kB / 0.6147 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3829, allocations: 4 kB / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3829, allocations: 32 / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.383, allocations: 8 kB / 0.6147 GB, free: 4.578 MB / 426.7 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 8.782e-05/0.383, allocations: 127.9 kB / 0.6148 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.3831, allocations: 11.81 kB / 0.6148 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.3833, allocations: 126.3 kB / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3833, allocations: 0 / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3833, allocations: 0 / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3833, allocations: 0 / 0.615 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.3838, allocations: 415.2 kB / 0.6154 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3838, allocations: 0 / 0.6154 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.3838, allocations: 8 kB / 0.6154 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3838, allocations: 4 kB / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3838, allocations: 0 / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3838, allocations: 3.938 kB / 0.6154 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3839, allocations: 3.938 kB / 0.6154 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.3841, allocations: 208.3 kB / 0.6156 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3841, allocations: 92.92 kB / 0.6157 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3842, allocations: 11.92 kB / 0.6157 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3843, allocations: 11.88 kB / 0.6157 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3843, allocations: 7.984 kB / 0.6157 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3843, allocations: 4 kB / 0.6157 GB, free: 3.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3844, allocations: 127.2 kB / 0.6158 GB, free: 3.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3844, allocations: 4 kB / 0.6158 GB, free: 3.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.3847, allocations: 59.92 kB / 0.6159 GB, free: 3.262 MB / 426.7 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 (9): * Single equations (assignments): 7 * 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.001099/0.3858, allocations: 0.5557 MB / 0.6164 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.386, allocations: 67.91 kB / 0.6165 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.386, allocations: 0 / 0.6165 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.3861, allocations: 35.92 kB / 0.6165 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3864, allocations: 22.33 kB / 0.6165 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3869, allocations: 251.9 kB / 0.6168 GB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3871, allocations: 0.6965 MB / 0.6175 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.3872, allocations: 19.44 kB / 0.6175 GB, free: 1.746 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3872, allocations: 0 / 0.6175 GB, free: 1.746 MB / 426.7 MB Notification: Performance of Templates: time 0.003777/0.3909, allocations: 2.399 MB / 0.6198 GB, free: 15.35 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches