Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 244.1 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008189/0.0008194, allocations: 109.1 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3761/0.3761, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4031, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5382, allocations: 90.76 MB / 0.6051 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5385, allocations: 75.97 kB / 0.6052 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01964/0.5582, allocations: 7.298 MB / 0.6123 GB, free: 7.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5582, allocations: 0 / 0.6123 GB, free: 7.223 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.5583, allocations: 0 / 0.6123 GB, free: 7.223 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006099/0.5589, allocations: 490.6 kB / 0.6128 GB, free: 6.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.5589, allocations: 8.031 kB / 0.6128 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.559, allocations: 20.75 kB / 0.6128 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.5593, allocations: 236.9 kB / 0.613 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.5593, allocations: 8.375 kB / 0.613 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.5594, allocations: 4.375 kB / 0.613 GB, free: 6.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.5595, allocations: 81.2 kB / 0.6131 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5596, allocations: 8.094 kB / 0.6131 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5596, allocations: 11.92 kB / 0.6131 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5596, allocations: 4 kB / 0.6131 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.5597, allocations: 35.97 kB / 0.6132 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.5602, allocations: 348.7 kB / 0.6135 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5605, allocations: 78.48 kB / 0.6136 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.5605, allocations: 32.84 kB / 0.6136 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5606, allocations: 0 / 0.6136 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.5607, allocations: 79.38 kB / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 4.157e-06/0.5607, allocations: 0 / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008618/0.5616, allocations: 320.9 kB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5617, allocations: 59.41 kB / 0.6141 GB, free: 5.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.5619, allocations: 255.8 kB / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.5619, allocations: 25.7 kB / 0.6143 GB, free: 4.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.562, allocations: 120.1 kB / 0.6144 GB, free: 4.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.5621, allocations: 47.36 kB / 0.6145 GB, free: 4.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.5621, allocations: 3.938 kB / 0.6145 GB, free: 4.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5622, allocations: 330.8 kB / 0.6148 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.5623, allocations: 35.98 kB / 0.6148 GB, free: 4.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.5624, allocations: 73.62 kB / 0.6149 GB, free: 4.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.5626, allocations: 101.3 kB / 0.615 GB, free: 4.238 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5626, allocations: 0 / 0.615 GB, free: 4.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002636/0.5629, allocations: 169.4 kB / 0.6152 GB, free: 4.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5629, allocations: 4 kB / 0.6152 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5629, allocations: 0 / 0.6152 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5629, allocations: 4 kB / 0.6152 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.563, allocations: 28.02 kB / 0.6152 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5631, allocations: 3.938 kB / 0.6152 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.5631, allocations: 7.938 kB / 0.6152 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5631, allocations: 8 kB / 0.6152 GB, free: 4.012 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 (16): * Single equations (assignments): 16 * 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.0001208/0.5633, allocations: 135.7 kB / 0.6153 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.5633, allocations: 15.81 kB / 0.6154 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.5637, allocations: 203 kB / 0.6156 GB, free: 3.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5637, allocations: 4 kB / 0.6156 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5637, allocations: 0 / 0.6156 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5637, allocations: 3.938 kB / 0.6156 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.5644, allocations: 0.5353 MB / 0.6161 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5644, allocations: 0 / 0.6161 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.5645, allocations: 36.03 kB / 0.6161 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5645, allocations: 3.938 kB / 0.6161 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5645, allocations: 4 kB / 0.6161 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5645, allocations: 0 / 0.6161 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5645, allocations: 0 / 0.6161 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.5648, allocations: 275.3 kB / 0.6164 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.5649, allocations: 108.9 kB / 0.6165 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.5649, allocations: 7.984 kB / 0.6165 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.565, allocations: 4 kB / 0.6165 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.5651, allocations: 15.92 kB / 0.6165 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5651, allocations: 8 kB / 0.6165 GB, free: 2.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.5653, allocations: 197.4 kB / 0.6167 GB, free: 2.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5653, allocations: 0 / 0.6167 GB, free: 2.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.5656, allocations: 51.94 kB / 0.6168 GB, free: 2.309 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0011/0.5667, allocations: 0.5282 MB / 0.6173 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.567, allocations: 103.9 kB / 0.6174 GB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.567, allocations: 0 / 0.6174 GB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5671, allocations: 59.92 kB / 0.6174 GB, free: 1.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.5675, allocations: 35.91 kB / 0.6175 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.5681, allocations: 417 kB / 0.6179 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5685, allocations: 0.7243 MB / 0.6186 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.5685, allocations: 23.44 kB / 0.6186 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5685, allocations: 0 / 0.6186 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of Templates: time 0.00467/0.5732, allocations: 2.611 MB / 0.6211 GB, free: 13.95 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches