Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 193.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 244.1 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007812/0.0007813, allocations: 106.9 kB / 296.1 MB, free: 6.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3275/0.3275, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002659, allocations: 15.98 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 62.96 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.4432, allocations: 90.63 MB / 0.605 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4434, allocations: 79.95 kB / 0.6051 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01798/0.4614, allocations: 6.799 MB / 0.6117 GB, free: 7.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4615, allocations: 0 / 0.6117 GB, free: 7.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4615, allocations: 8 kB / 0.6117 GB, free: 7.797 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.0005542/0.4621, allocations: 478.5 kB / 0.6122 GB, free: 7.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4621, allocations: 8.031 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.4621, allocations: 12.84 kB / 0.6122 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.4625, allocations: 236.9 kB / 0.6124 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4625, allocations: 12.36 kB / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.4625, allocations: 384 / 0.6124 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.4627, allocations: 62.17 kB / 0.6125 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4627, allocations: 4.188 kB / 0.6125 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4627, allocations: 3.938 kB / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4627, allocations: 0 / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.4628, allocations: 19.98 kB / 0.6125 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.4632, allocations: 308.9 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4634, allocations: 62.56 kB / 0.6129 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.4634, allocations: 28.84 kB / 0.6129 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4635, allocations: 0 / 0.6129 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4636, allocations: 67.3 kB / 0.613 GB, free: 6.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4636, allocations: 4 kB / 0.613 GB, free: 6.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.4642, allocations: 181.3 kB / 0.6131 GB, free: 6.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4642, allocations: 55.41 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4645, allocations: 275.9 kB / 0.6135 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4646, allocations: 25.7 kB / 0.6135 GB, free: 5.781 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.4646, allocations: 120 kB / 0.6136 GB, free: 5.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.4647, allocations: 15.81 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4647, allocations: 0 / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4648, allocations: 334.8 kB / 0.6139 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.4649, allocations: 19.94 kB / 0.6139 GB, free: 5.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.465, allocations: 49.58 kB / 0.614 GB, free: 5.234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4651, allocations: 57.7 kB / 0.614 GB, free: 5.172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4651, allocations: 0 / 0.614 GB, free: 5.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.4653, allocations: 113.4 kB / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4653, allocations: 4 kB / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4653, allocations: 4.125 kB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4653, allocations: 0 / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.4654, allocations: 24.02 kB / 0.6142 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4654, allocations: 160 / 0.6142 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.4655, allocations: 7.906 kB / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.4655, allocations: 8 kB / 0.6142 GB, free: 5.008 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.0001099/0.4656, allocations: 137.7 kB / 0.6143 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.4657, allocations: 19.81 kB / 0.6144 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4659, allocations: 127 kB / 0.6145 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4659, allocations: 4 kB / 0.6145 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4659, allocations: 4 kB / 0.6145 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.466, allocations: 0 / 0.6145 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.4665, allocations: 439.2 kB / 0.6149 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4665, allocations: 4 kB / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.4665, allocations: 8 kB / 0.6149 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4665, allocations: 0 / 0.6149 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4666, allocations: 7.984 kB / 0.6149 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4666, allocations: 8.031 kB / 0.6149 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4666, allocations: 3.938 kB / 0.6149 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.4668, allocations: 208.1 kB / 0.6151 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.4669, allocations: 104.9 kB / 0.6152 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4669, allocations: 0 / 0.6152 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.467, allocations: 4.375 kB / 0.6152 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4671, allocations: 15.92 kB / 0.6152 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4671, allocations: 8 kB / 0.6153 GB, free: 3.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.4673, allocations: 196.6 kB / 0.6154 GB, free: 3.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4673, allocations: 7.938 kB / 0.6155 GB, free: 3.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.4676, allocations: 36 kB / 0.6155 GB, free: 3.582 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.0009996/0.4686, allocations: 474.1 kB / 0.6159 GB, free: 3.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.4687, allocations: 59.92 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4688, allocations: 0 / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.4688, allocations: 35.92 kB / 0.616 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.4692, allocations: 29.69 kB / 0.6161 GB, free: 3.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.4698, allocations: 356.7 kB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4701, allocations: 0.72 MB / 0.6171 GB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.4701, allocations: 19.42 kB / 0.6171 GB, free: 2.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4701, allocations: 3.938 kB / 0.6171 GB, free: 2.016 MB / 426.7 MB Notification: Performance of Templates: time 0.004032/0.4742, allocations: 2.192 MB / 0.6193 GB, free: 15.83 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches