Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009652/0.0009652, allocations: 194.8 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 226.5 MB / 244.1 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.0008006/0.0008006, allocations: 95 kB / 296.1 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.3101/0.3101, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 62.96 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4193, allocations: 90.88 MB / 0.6052 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4196, allocations: 71.97 kB / 0.6053 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.4381, allocations: 7.25 MB / 0.6124 GB, free: 7.176 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4381, allocations: 0 / 0.6124 GB, free: 7.176 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4381, allocations: 3.938 kB / 0.6124 GB, free: 7.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000511/0.4386, allocations: 443 kB / 0.6128 GB, free: 6.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4387, allocations: 8.031 kB / 0.6128 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.4387, allocations: 12.75 kB / 0.6128 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.439, allocations: 222.9 kB / 0.613 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4391, allocations: 384 / 0.613 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4391, allocations: 4.375 kB / 0.613 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4392, allocations: 71.52 kB / 0.6131 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4393, allocations: 0 / 0.6131 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4393, allocations: 8 kB / 0.6131 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4393, allocations: 0 / 0.6131 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.4394, allocations: 27.91 kB / 0.6131 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4398, allocations: 288.8 kB / 0.6134 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4399, allocations: 54.67 kB / 0.6135 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.44, allocations: 32.84 kB / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.44, allocations: 0 / 0.6135 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.4402, allocations: 71.33 kB / 0.6136 GB, free: 5.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4402, allocations: 0 / 0.6136 GB, free: 5.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005307/0.4407, allocations: 173.4 kB / 0.6137 GB, free: 5.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4408, allocations: 81.05 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.441, allocations: 179.1 kB / 0.614 GB, free: 5.324 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.441, allocations: 29.7 kB / 0.614 GB, free: 5.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.4411, allocations: 96.12 kB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4411, allocations: 27.64 kB / 0.6141 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.4411, allocations: 4 kB / 0.6141 GB, free: 5.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4412, allocations: 326.8 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.4413, allocations: 19.98 kB / 0.6145 GB, free: 4.812 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.4414, allocations: 54.5 kB / 0.6145 GB, free: 4.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4415, allocations: 53.66 kB / 0.6146 GB, free: 4.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4415, allocations: 0 / 0.6146 GB, free: 4.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.4417, allocations: 101.6 kB / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4417, allocations: 4 kB / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4417, allocations: 0 / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4417, allocations: 0 / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.4418, allocations: 23.92 kB / 0.6147 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4418, allocations: 4.062 kB / 0.6147 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.4419, allocations: 4 kB / 0.6147 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4419, allocations: 4 kB / 0.6147 GB, free: 4.547 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 9.286e-05/0.442, allocations: 125.8 kB / 0.6148 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.442, allocations: 11.81 kB / 0.6148 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4423, allocations: 118.3 kB / 0.6149 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4423, allocations: 0 / 0.6149 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4423, allocations: 0 / 0.6149 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4423, allocations: 4 kB / 0.6149 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.4428, allocations: 411.2 kB / 0.6153 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4428, allocations: 0 / 0.6153 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4428, allocations: 12 kB / 0.6154 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4429, allocations: 3.984 kB / 0.6154 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.4429, allocations: 7.984 kB / 0.6154 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4429, allocations: 11.88 kB / 0.6154 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4429, allocations: 0 / 0.6154 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4431, allocations: 208.5 kB / 0.6156 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.4432, allocations: 93.28 kB / 0.6157 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.4432, allocations: 4 kB / 0.6157 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.4433, allocations: 7.938 kB / 0.6157 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.4434, allocations: 11.92 kB / 0.6157 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4434, allocations: 11.94 kB / 0.6157 GB, free: 3.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4435, allocations: 127.2 kB / 0.6158 GB, free: 3.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4435, allocations: 0 / 0.6158 GB, free: 3.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.4438, allocations: 59.91 kB / 0.6159 GB, free: 3.227 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.001166/0.445, allocations: 0.5582 MB / 0.6164 GB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4452, allocations: 63.91 kB / 0.6165 GB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4452, allocations: 0 / 0.6165 GB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.4453, allocations: 39.91 kB / 0.6165 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4456, allocations: 22.64 kB / 0.6165 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.4461, allocations: 251.8 kB / 0.6168 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.4464, allocations: 0.7004 MB / 0.6175 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.4464, allocations: 23.42 kB / 0.6175 GB, free: 1.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4464, allocations: 0 / 0.6175 GB, free: 1.703 MB / 426.7 MB Notification: Performance of Templates: time 0.004055/0.4505, allocations: 2.396 MB / 0.6198 GB, free: 15.31 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches