Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009674/0.0009675, 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.335/1.335, allocations: 226.5 MB / 244.1 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007485/0.0007487, allocations: 95.91 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3748/0.3748, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003083, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3633, allocations: 62.96 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4903, allocations: 90.46 MB / 0.6048 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4906, allocations: 71.97 kB / 0.6049 GB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.5082, allocations: 6.66 MB / 0.6114 GB, free: 8.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5083, allocations: 0 / 0.6114 GB, free: 8.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.5083, allocations: 4 kB / 0.6114 GB, free: 8.172 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005876/0.5089, allocations: 470.6 kB / 0.6119 GB, free: 7.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5089, allocations: 8.031 kB / 0.6119 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.509, allocations: 12.84 kB / 0.6119 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.5093, allocations: 244.8 kB / 0.6121 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5094, allocations: 384 / 0.6121 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.5094, allocations: 4.375 kB / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5095, allocations: 46.23 kB / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.5095, allocations: 192 / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.5095, allocations: 11.88 kB / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5096, allocations: 4 kB / 0.6122 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.5096, allocations: 15.98 kB / 0.6122 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.5099, allocations: 197.7 kB / 0.6124 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.51, allocations: 54.61 kB / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.5101, allocations: 16.86 kB / 0.6124 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5101, allocations: 7.984 kB / 0.6124 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.5103, allocations: 71.33 kB / 0.6125 GB, free: 6.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5103, allocations: 0 / 0.6125 GB, free: 6.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002798/0.5106, allocations: 101.4 kB / 0.6126 GB, free: 6.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.5106, allocations: 51.41 kB / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.5109, allocations: 268 kB / 0.6129 GB, free: 6.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5109, allocations: 25.7 kB / 0.6129 GB, free: 6.387 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.511, allocations: 120.1 kB / 0.6131 GB, free: 6.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.511, allocations: 19.73 kB / 0.6131 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.511, allocations: 0 / 0.6131 GB, free: 6.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5111, allocations: 326.8 kB / 0.6134 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.5112, allocations: 19.98 kB / 0.6134 GB, free: 5.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.5112, allocations: 29.64 kB / 0.6134 GB, free: 5.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.715e-05/0.5113, allocations: 49.7 kB / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5113, allocations: 0 / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001501/0.5115, allocations: 89.42 kB / 0.6136 GB, free: 5.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5115, allocations: 7.938 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5115, allocations: 0 / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5116, allocations: 4 kB / 0.6136 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.021e-05/0.5116, allocations: 11.94 kB / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5116, allocations: 0 / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.5117, allocations: 16.23 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.5117, allocations: 8.031 kB / 0.6136 GB, free: 5.668 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 (7): * Single equations (assignments): 7 * 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.0001006/0.5118, allocations: 131.5 kB / 0.6137 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.5119, allocations: 19.75 kB / 0.6138 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.5121, allocations: 106.6 kB / 0.6139 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5121, allocations: 4 kB / 0.6139 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5121, allocations: 0 / 0.6139 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5121, allocations: 0 / 0.6139 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.5123, allocations: 205.6 kB / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5123, allocations: 0 / 0.6141 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.5123, allocations: 8 kB / 0.6141 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.5124, allocations: 7.922 kB / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5124, allocations: 4 kB / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5124, allocations: 0 / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5124, allocations: 0 / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5126, allocations: 116.9 kB / 0.6142 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.5126, allocations: 104.9 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.5127, allocations: 3.938 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.5127, allocations: 8 kB / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.5128, allocations: 4 kB / 0.6143 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5128, allocations: 3.984 kB / 0.6143 GB, free: 4.859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.513, allocations: 200.6 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.513, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.5132, allocations: 27.94 kB / 0.6145 GB, free: 4.637 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008828/0.5141, allocations: 412.1 kB / 0.6149 GB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.5143, allocations: 55.91 kB / 0.615 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5143, allocations: 0 / 0.615 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.5143, allocations: 16 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5146, allocations: 30.78 kB / 0.615 GB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.5151, allocations: 335.6 kB / 0.6153 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5154, allocations: 0.7121 MB / 0.616 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.5154, allocations: 19.44 kB / 0.6161 GB, free: 3.168 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5154, allocations: 0 / 0.6161 GB, free: 3.168 MB / 426.7 MB Notification: Performance of Templates: time 0.003673/0.5191, allocations: 1.969 MB / 0.618 GB, free: 1.199 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches