Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008266/0.0008265, allocations: 98.98 kB / 297.5 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.3904/0.3904, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3376, allocations: 62.97 MB / 0.5184 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4648, allocations: 91.56 MB / 0.6079 GB, free: 13.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.465, allocations: 71.95 kB / 0.6079 GB, free: 13.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.4807, allocations: 5.186 MB / 0.613 GB, free: 8.473 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4808, allocations: 0 / 0.613 GB, free: 8.473 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.4808, allocations: 11.94 kB / 0.613 GB, free: 8.461 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001084/0.4819, allocations: 496.7 kB / 0.6135 GB, free: 7.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.482, allocations: 16.03 kB / 0.6135 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.4821, allocations: 12.75 kB / 0.6135 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.4826, allocations: 245.5 kB / 0.6137 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.4826, allocations: 4.375 kB / 0.6137 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.4826, allocations: 8.375 kB / 0.6137 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.4829, allocations: 112.8 kB / 0.6139 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.483, allocations: 4.188 kB / 0.6139 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.483, allocations: 3.938 kB / 0.6139 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.483, allocations: 0 / 0.6139 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4832, allocations: 67.83 kB / 0.6139 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.484, allocations: 0.5204 MB / 0.6144 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.4843, allocations: 94.64 kB / 0.6145 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.4844, allocations: 40.84 kB / 0.6146 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.4844, allocations: 4 kB / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.4847, allocations: 87.31 kB / 0.6146 GB, free: 6.574 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.4847, allocations: 0 / 0.6146 GB, free: 6.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004303/0.4851, allocations: 157.4 kB / 0.6148 GB, free: 6.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4852, allocations: 51.41 kB / 0.6148 GB, free: 6.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.4854, allocations: 198.9 kB / 0.615 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4854, allocations: 25.7 kB / 0.6151 GB, free: 6.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.4855, allocations: 119.9 kB / 0.6152 GB, free: 6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.4855, allocations: 23.66 kB / 0.6152 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4855, allocations: 4.375 kB / 0.6152 GB, free: 5.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4857, allocations: 334.8 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.4858, allocations: 31.98 kB / 0.6156 GB, free: 5.605 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4859, allocations: 64.27 kB / 0.6156 GB, free: 5.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.4861, allocations: 117.2 kB / 0.6157 GB, free: 5.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4861, allocations: 0 / 0.6157 GB, free: 5.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002901/0.4864, allocations: 141.3 kB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4864, allocations: 4 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4865, allocations: 4 kB / 0.6159 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4865, allocations: 0 / 0.6159 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.4866, allocations: 23.98 kB / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4866, allocations: 0 / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.4867, allocations: 23.78 kB / 0.6159 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4867, allocations: 8.062 kB / 0.6159 GB, free: 5.191 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001116/0.4868, allocations: 132.5 kB / 0.616 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.4869, allocations: 15.81 kB / 0.6161 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.4872, allocations: 135 kB / 0.6162 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4872, allocations: 4 kB / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4872, allocations: 0 / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4872, allocations: 0 / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4874, allocations: 221.5 kB / 0.6164 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4874, allocations: 4 kB / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.4875, allocations: 15.98 kB / 0.6164 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4875, allocations: 7.938 kB / 0.6164 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4875, allocations: 4.188 kB / 0.6164 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4875, allocations: 0 / 0.6164 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4875, allocations: 3.938 kB / 0.6164 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.488, allocations: 208.7 kB / 0.6166 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.488, allocations: 96.83 kB / 0.6167 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.4881, allocations: 7.984 kB / 0.6167 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.4881, allocations: 8 kB / 0.6167 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4882, allocations: 7.984 kB / 0.6168 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4882, allocations: 4 kB / 0.6168 GB, free: 4.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.4884, allocations: 159.8 kB / 0.6169 GB, free: 4.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4884, allocations: 0 / 0.6169 GB, free: 4.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.4886, allocations: 36.11 kB / 0.6169 GB, free: 4.051 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009752/0.4896, allocations: 416.2 kB / 0.6173 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.4899, allocations: 92.02 kB / 0.6174 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4899, allocations: 0 / 0.6174 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.49, allocations: 35.98 kB / 0.6175 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.4904, allocations: 31.97 kB / 0.6175 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.491, allocations: 300.5 kB / 0.6178 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.4914, allocations: 0.7203 MB / 0.6185 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.121e-05/0.4915, allocations: 17.06 kB / 0.6185 GB, free: 2.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.4916, allocations: 23.44 kB / 0.6185 GB, free: 2.516 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4916, allocations: 0 / 0.6185 GB, free: 2.516 MB / 426.7 MB Notification: Performance of Templates: time 0.00527/0.4968, allocations: 1.827 MB / 0.6203 GB, free: 0.7031 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches