Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 197.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.342/1.342, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007661/0.0007661, allocations: 105.5 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3597/0.3597, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003868, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3701, allocations: 62.95 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.4905, allocations: 90.61 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4908, allocations: 75.95 kB / 0.605 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.5085, allocations: 6.391 MB / 0.6113 GB, free: 8.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5085, allocations: 0 / 0.6113 GB, free: 8.273 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5085, allocations: 4 kB / 0.6113 GB, free: 8.27 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.0006083/0.5092, allocations: 450.8 kB / 0.6117 GB, free: 7.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5092, allocations: 8.031 kB / 0.6117 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.5093, allocations: 20.75 kB / 0.6117 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.5096, allocations: 220.8 kB / 0.6119 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5096, allocations: 384 / 0.6119 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5097, allocations: 4.375 kB / 0.612 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5098, allocations: 54.23 kB / 0.612 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5098, allocations: 192 / 0.612 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5098, allocations: 7.875 kB / 0.612 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5099, allocations: 4 kB / 0.612 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.5099, allocations: 27.97 kB / 0.612 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.5104, allocations: 288.9 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.5106, allocations: 62.61 kB / 0.6124 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.5106, allocations: 28.77 kB / 0.6124 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5106, allocations: 4 kB / 0.6124 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.5108, allocations: 67.39 kB / 0.6125 GB, free: 6.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.5108, allocations: 0 / 0.6125 GB, free: 6.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.5114, allocations: 185.1 kB / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5114, allocations: 51.41 kB / 0.6127 GB, free: 6.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5117, allocations: 196.4 kB / 0.6129 GB, free: 6.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5117, allocations: 25.7 kB / 0.6129 GB, free: 6.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.5118, allocations: 108.1 kB / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.5118, allocations: 27.7 kB / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.5118, allocations: 0 / 0.613 GB, free: 6.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5119, allocations: 326.8 kB / 0.6134 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.512, allocations: 23.92 kB / 0.6134 GB, free: 5.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.5121, allocations: 41.64 kB / 0.6134 GB, free: 5.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.5122, allocations: 61.64 kB / 0.6135 GB, free: 5.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5122, allocations: 4 kB / 0.6135 GB, free: 5.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.5124, allocations: 105.9 kB / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5124, allocations: 6.812 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5125, allocations: 4 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.5125, allocations: 0 / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.5126, allocations: 23.98 kB / 0.6136 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5126, allocations: 0 / 0.6136 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.5126, allocations: 4 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.5126, allocations: 4 kB / 0.6136 GB, free: 5.645 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.0001124/0.5128, allocations: 137.7 kB / 0.6138 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.5128, allocations: 11.91 kB / 0.6138 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.5131, allocations: 119 kB / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5131, allocations: 0 / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5131, allocations: 0 / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5131, allocations: 0 / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.5136, allocations: 423.1 kB / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5136, allocations: 0 / 0.6143 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.5136, allocations: 15.94 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5136, allocations: 0 / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5137, allocations: 3.984 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5137, allocations: 4 kB / 0.6143 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5137, allocations: 3.938 kB / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.5139, allocations: 212.5 kB / 0.6145 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.514, allocations: 92.91 kB / 0.6146 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.514, allocations: 4 kB / 0.6146 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.5141, allocations: 4.094 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.5141, allocations: 15.86 kB / 0.6146 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.5142, allocations: 4 kB / 0.6146 GB, free: 4.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.5143, allocations: 151.2 kB / 0.6148 GB, free: 4.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5143, allocations: 0 / 0.6148 GB, free: 4.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.5146, allocations: 28 kB / 0.6148 GB, free: 4.328 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.001073/0.5157, allocations: 478.7 kB / 0.6153 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.5159, allocations: 59.92 kB / 0.6153 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5159, allocations: 4.062 kB / 0.6153 GB, free: 3.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.516, allocations: 35.92 kB / 0.6153 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.5163, allocations: 24.98 kB / 0.6154 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.5168, allocations: 283.9 kB / 0.6156 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.5171, allocations: 0.7043 MB / 0.6163 GB, free: 2.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.5172, allocations: 19.44 kB / 0.6163 GB, free: 2.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5172, allocations: 0 / 0.6163 GB, free: 2.84 MB / 426.7 MB Notification: Performance of Templates: time 0.003707/0.5209, allocations: 1.989 MB / 0.6183 GB, free: 0.8555 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches