Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 244.1 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008589, allocations: 109.1 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4001/0.4001, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5619, allocations: 90.66 MB / 0.605 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5622, allocations: 71.97 kB / 0.6051 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.5812, allocations: 6.505 MB / 0.6114 GB, free: 8.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5812, allocations: 0 / 0.6114 GB, free: 8.117 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.5812, allocations: 8 kB / 0.6114 GB, free: 8.109 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.000619/0.5818, allocations: 446.9 kB / 0.6119 GB, free: 7.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5819, allocations: 8.031 kB / 0.6119 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.582, allocations: 12.75 kB / 0.6119 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.5823, allocations: 220.8 kB / 0.6121 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.5823, allocations: 8.375 kB / 0.6121 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.5824, allocations: 4.359 kB / 0.6121 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.5825, allocations: 58.23 kB / 0.6122 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5826, allocations: 192 / 0.6122 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5826, allocations: 3.938 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5826, allocations: 0 / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.5827, allocations: 23.92 kB / 0.6122 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.5831, allocations: 296.8 kB / 0.6125 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.5833, allocations: 58.62 kB / 0.6125 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.5833, allocations: 24.84 kB / 0.6126 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5833, allocations: 0 / 0.6126 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.5835, allocations: 71.33 kB / 0.6126 GB, free: 6.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.5835, allocations: 4 kB / 0.6126 GB, free: 6.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.5841, allocations: 181.3 kB / 0.6128 GB, free: 6.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5841, allocations: 59.39 kB / 0.6129 GB, free: 6.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.5843, allocations: 196.4 kB / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5843, allocations: 29.7 kB / 0.6131 GB, free: 6.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.5844, allocations: 100.1 kB / 0.6132 GB, free: 6.137 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.5844, allocations: 19.72 kB / 0.6132 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.5844, allocations: 3.938 kB / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5846, allocations: 334.8 kB / 0.6135 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.5846, allocations: 19.98 kB / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.5847, allocations: 41.64 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.5848, allocations: 61.64 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5848, allocations: 0 / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.585, allocations: 109.4 kB / 0.6137 GB, free: 5.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.585, allocations: 8.031 kB / 0.6137 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5851, allocations: 0 / 0.6137 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5851, allocations: 0 / 0.6137 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.5852, allocations: 16 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5852, allocations: 4.141 kB / 0.6138 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.5852, allocations: 7.984 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.5852, allocations: 4 kB / 0.6138 GB, free: 5.492 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.0001054/0.5854, allocations: 129.7 kB / 0.6139 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.5854, allocations: 11.89 kB / 0.6139 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.5856, allocations: 123 kB / 0.614 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.5857, allocations: 0 / 0.614 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5857, allocations: 0 / 0.614 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5857, allocations: 7.984 kB / 0.614 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.5862, allocations: 415.2 kB / 0.6144 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5862, allocations: 3.984 kB / 0.6144 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.5862, allocations: 15.94 kB / 0.6144 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5863, allocations: 4.031 kB / 0.6144 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5863, allocations: 4 kB / 0.6144 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5863, allocations: 0 / 0.6144 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5863, allocations: 3.938 kB / 0.6145 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.5865, allocations: 208.2 kB / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.5866, allocations: 97.3 kB / 0.6147 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.5866, allocations: 4 kB / 0.6147 GB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.5867, allocations: 7.984 kB / 0.6148 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.5868, allocations: 7.938 kB / 0.6148 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5868, allocations: 11.94 kB / 0.6148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5869, allocations: 143.2 kB / 0.6149 GB, free: 4.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5869, allocations: 0 / 0.6149 GB, free: 4.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.5872, allocations: 39.92 kB / 0.6149 GB, free: 4.168 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.001027/0.5882, allocations: 466.4 kB / 0.6154 GB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5884, allocations: 67.83 kB / 0.6155 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5885, allocations: 4 kB / 0.6155 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.5885, allocations: 31.92 kB / 0.6155 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.5889, allocations: 39.2 kB / 0.6155 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.5895, allocations: 279.8 kB / 0.6158 GB, free: 3.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5898, allocations: 0.7121 MB / 0.6165 GB, free: 2.691 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.5898, allocations: 15.44 kB / 0.6165 GB, free: 2.676 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5898, allocations: 0 / 0.6165 GB, free: 2.676 MB / 426.7 MB Notification: Performance of Templates: time 0.004115/0.594, allocations: 1.98 MB / 0.6184 GB, free: 0.6992 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches