Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009519/0.000952, allocations: 194 kB / 16.79 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.404/1.404, allocations: 226.5 MB / 244.1 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007825/0.0007827, allocations: 109.6 kB / 296.2 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3607/0.3607, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 16 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3807, allocations: 62.95 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.5115, allocations: 90.65 MB / 0.605 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5118, allocations: 79.95 kB / 0.6051 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01743/0.5292, allocations: 6.501 MB / 0.6114 GB, free: 8.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5293, allocations: 0 / 0.6114 GB, free: 8.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.5293, allocations: 4 kB / 0.6114 GB, free: 8.148 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.0008221/0.5302, allocations: 446.8 kB / 0.6119 GB, free: 7.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5302, allocations: 8.031 kB / 0.6119 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.5303, allocations: 16.75 kB / 0.6119 GB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.5307, allocations: 224.8 kB / 0.6121 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.5307, allocations: 384 / 0.6121 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.5308, allocations: 4.375 kB / 0.6121 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.531, allocations: 54.23 kB / 0.6122 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.531, allocations: 4.188 kB / 0.6122 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.531, allocations: 3.938 kB / 0.6122 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.531, allocations: 4 kB / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.533e-05/0.5311, allocations: 19.92 kB / 0.6122 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.5317, allocations: 296.8 kB / 0.6125 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.5319, allocations: 62.61 kB / 0.6125 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.5319, allocations: 24.84 kB / 0.6126 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.532, allocations: 11.92 kB / 0.6126 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.5322, allocations: 63.39 kB / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5322, allocations: 0 / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006566/0.5328, allocations: 185.1 kB / 0.6128 GB, free: 6.574 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.5329, allocations: 51.41 kB / 0.6128 GB, free: 6.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.5332, allocations: 200.4 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5332, allocations: 29.7 kB / 0.6131 GB, free: 6.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5333, allocations: 104.1 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.5333, allocations: 23.7 kB / 0.6132 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.5333, allocations: 4 kB / 0.6132 GB, free: 6.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.5335, allocations: 326.8 kB / 0.6135 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.5336, allocations: 23.92 kB / 0.6135 GB, free: 5.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.5337, allocations: 41.7 kB / 0.6136 GB, free: 5.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.5338, allocations: 57.66 kB / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5338, allocations: 192 / 0.6136 GB, free: 5.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.534, allocations: 109.4 kB / 0.6137 GB, free: 5.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.5341, allocations: 7.938 kB / 0.6137 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5341, allocations: 4 kB / 0.6137 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5341, allocations: 0 / 0.6137 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.5342, allocations: 15.98 kB / 0.6138 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5342, allocations: 8.172 kB / 0.6138 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.5343, allocations: 8 kB / 0.6138 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5343, allocations: 4 kB / 0.6138 GB, free: 5.52 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.0001186/0.5344, allocations: 129.7 kB / 0.6139 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.5344, allocations: 11.91 kB / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.5347, allocations: 115 kB / 0.614 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5347, allocations: 4 kB / 0.614 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5347, allocations: 4 kB / 0.614 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5348, allocations: 0 / 0.614 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.5353, allocations: 419.2 kB / 0.6144 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5353, allocations: 0 / 0.6144 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.5353, allocations: 15.94 kB / 0.6144 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5353, allocations: 0 / 0.6144 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.5353, allocations: 3.984 kB / 0.6144 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5354, allocations: 4 kB / 0.6144 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5354, allocations: 7.969 kB / 0.6145 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.5356, allocations: 208.2 kB / 0.6147 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.5357, allocations: 96.91 kB / 0.6147 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.5357, allocations: 4 kB / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.5358, allocations: 0 / 0.6148 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.5359, allocations: 15.92 kB / 0.6148 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5359, allocations: 8 kB / 0.6148 GB, free: 4.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.536, allocations: 147.2 kB / 0.6149 GB, free: 4.238 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.536, allocations: 0 / 0.6149 GB, free: 4.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.5363, allocations: 32 kB / 0.6149 GB, free: 4.207 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.001132/0.5374, allocations: 482 kB / 0.6154 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5376, allocations: 55.92 kB / 0.6155 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5377, allocations: 0 / 0.6155 GB, free: 3.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.5377, allocations: 35.92 kB / 0.6155 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5381, allocations: 34.86 kB / 0.6155 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.5386, allocations: 283.9 kB / 0.6158 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.5389, allocations: 0.7083 MB / 0.6165 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.5389, allocations: 15.44 kB / 0.6165 GB, free: 2.719 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.539, allocations: 0 / 0.6165 GB, free: 2.719 MB / 426.7 MB Notification: Performance of Templates: time 0.003681/0.5426, allocations: 1.981 MB / 0.6184 GB, free: 0.7422 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches