Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 193.5 kB / 16.78 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: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007505/0.0007506, allocations: 102.7 kB / 296.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3929/0.3929, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4119, allocations: 62.95 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.5407, allocations: 90.64 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.541, allocations: 79.94 kB / 0.6051 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01865/0.5597, allocations: 6.811 MB / 0.6117 GB, free: 7.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5597, allocations: 4 kB / 0.6117 GB, free: 7.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.5598, allocations: 0 / 0.6117 GB, free: 7.848 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.0006755/0.5605, allocations: 486.5 kB / 0.6122 GB, free: 7.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5605, allocations: 8.031 kB / 0.6122 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.5606, allocations: 12.84 kB / 0.6122 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.5609, allocations: 236.9 kB / 0.6124 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5609, allocations: 4.375 kB / 0.6124 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.561, allocations: 4.375 kB / 0.6124 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5611, allocations: 58.23 kB / 0.6125 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5612, allocations: 4.125 kB / 0.6125 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5612, allocations: 3.938 kB / 0.6125 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5612, allocations: 4 kB / 0.6125 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.5613, allocations: 19.97 kB / 0.6125 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.5617, allocations: 304.9 kB / 0.6128 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.5619, allocations: 66.55 kB / 0.6129 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.562, allocations: 20.86 kB / 0.6129 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.562, allocations: 4 kB / 0.6129 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.5622, allocations: 71.28 kB / 0.613 GB, free: 6.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5622, allocations: 0 / 0.613 GB, free: 6.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005827/0.5628, allocations: 189.1 kB / 0.6132 GB, free: 6.203 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5628, allocations: 51.41 kB / 0.6132 GB, free: 6.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.5631, allocations: 271.9 kB / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5632, allocations: 29.7 kB / 0.6135 GB, free: 5.828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.5632, allocations: 112.1 kB / 0.6136 GB, free: 5.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.5633, allocations: 23.7 kB / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5633, allocations: 0 / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5634, allocations: 338.7 kB / 0.6139 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.5635, allocations: 31.92 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.5636, allocations: 33.7 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.5637, allocations: 61.64 kB / 0.6141 GB, free: 5.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5637, allocations: 0 / 0.6141 GB, free: 5.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.5639, allocations: 105.5 kB / 0.6142 GB, free: 5.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5639, allocations: 4 kB / 0.6142 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5639, allocations: 80 / 0.6142 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5639, allocations: 4.031 kB / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.564, allocations: 19.98 kB / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5641, allocations: 3.984 kB / 0.6142 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.5641, allocations: 4 kB / 0.6142 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5641, allocations: 4.375 kB / 0.6142 GB, free: 5.066 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 0.0001145/0.5642, allocations: 137.8 kB / 0.6143 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.5643, allocations: 15.81 kB / 0.6144 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.5646, allocations: 138.9 kB / 0.6145 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5646, allocations: 0 / 0.6145 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5646, allocations: 4 kB / 0.6145 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5646, allocations: 0 / 0.6145 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.5651, allocations: 443.2 kB / 0.6149 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5651, allocations: 0 / 0.6149 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.5652, allocations: 19.92 kB / 0.6149 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5652, allocations: 4 kB / 0.6149 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.5652, allocations: 4.031 kB / 0.6149 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5652, allocations: 0 / 0.6149 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5652, allocations: 7.938 kB / 0.6149 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5654, allocations: 208.4 kB / 0.6151 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.5655, allocations: 105 kB / 0.6152 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5656, allocations: 3.938 kB / 0.6152 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.5657, allocations: 8 kB / 0.6153 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.5657, allocations: 15.92 kB / 0.6153 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.5657, allocations: 4 kB / 0.6153 GB, free: 3.859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.5659, allocations: 196.6 kB / 0.6155 GB, free: 3.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5659, allocations: 0 / 0.6155 GB, free: 3.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.5662, allocations: 39.98 kB / 0.6155 GB, free: 3.629 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.001053/0.5673, allocations: 468.9 kB / 0.6159 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.5675, allocations: 67.89 kB / 0.616 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5675, allocations: 0 / 0.616 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.5676, allocations: 35.92 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.5679, allocations: 31.31 kB / 0.6161 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.5685, allocations: 356.6 kB / 0.6164 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5688, allocations: 0.7238 MB / 0.6171 GB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.5688, allocations: 15.44 kB / 0.6171 GB, free: 2.059 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5688, allocations: 0 / 0.6171 GB, free: 2.059 MB / 426.7 MB Notification: Performance of Templates: time 0.003853/0.5727, allocations: 2.2 MB / 0.6193 GB, free: 15.86 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches