Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 199 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.45/1.45, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008504/0.0008505, allocations: 107.8 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3439/0.3439, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003154, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3961, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5252, allocations: 90.61 MB / 0.605 GB, free: 14.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5256, allocations: 75.97 kB / 0.605 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.5446, allocations: 6.446 MB / 0.6113 GB, free: 8.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5446, allocations: 0 / 0.6113 GB, free: 8.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.5446, allocations: 4 kB / 0.6113 GB, free: 8.254 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.0006234/0.5453, allocations: 462.7 kB / 0.6118 GB, free: 7.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5453, allocations: 8.031 kB / 0.6118 GB, free: 7.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.5454, allocations: 16.75 kB / 0.6118 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.5457, allocations: 230 kB / 0.612 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5457, allocations: 8.375 kB / 0.612 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.5458, allocations: 384 / 0.612 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5459, allocations: 58.23 kB / 0.6121 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.546, allocations: 4.125 kB / 0.6121 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.546, allocations: 3.938 kB / 0.6121 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.546, allocations: 0 / 0.6121 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.5461, allocations: 19.98 kB / 0.6121 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.5465, allocations: 296.9 kB / 0.6124 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5467, allocations: 62.61 kB / 0.6124 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.5468, allocations: 20.8 kB / 0.6125 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.5468, allocations: 0 / 0.6125 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.547, allocations: 75.38 kB / 0.6125 GB, free: 6.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.547, allocations: 0 / 0.6125 GB, free: 6.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006305/0.5477, allocations: 177.1 kB / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5477, allocations: 51.41 kB / 0.6128 GB, free: 6.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.548, allocations: 212.7 kB / 0.613 GB, free: 6.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.548, allocations: 25.7 kB / 0.613 GB, free: 6.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.5481, allocations: 100.1 kB / 0.6131 GB, free: 6.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.5481, allocations: 27.64 kB / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.5481, allocations: 0 / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5483, allocations: 338.7 kB / 0.6134 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.5483, allocations: 23.98 kB / 0.6135 GB, free: 5.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.5484, allocations: 37.7 kB / 0.6135 GB, free: 5.824 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5485, allocations: 61.62 kB / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5486, allocations: 192 / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.5487, allocations: 105.5 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5488, allocations: 11.92 kB / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5488, allocations: 0 / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5488, allocations: 4 kB / 0.6137 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.5489, allocations: 12.38 kB / 0.6137 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5489, allocations: 0 / 0.6137 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.549, allocations: 7.984 kB / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.549, allocations: 15.98 kB / 0.6137 GB, free: 5.598 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.0001231/0.5491, allocations: 121.8 kB / 0.6138 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5492, allocations: 19.84 kB / 0.6138 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.5494, allocations: 127.1 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5494, allocations: 0 / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5495, allocations: 0 / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5495, allocations: 0 / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.55, allocations: 423.2 kB / 0.6144 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.55, allocations: 0 / 0.6144 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.5501, allocations: 19.97 kB / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5501, allocations: 0 / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5501, allocations: 0 / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.5501, allocations: 4 kB / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5501, allocations: 3.938 kB / 0.6144 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.5504, allocations: 212.1 kB / 0.6146 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.5505, allocations: 92.92 kB / 0.6147 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.5505, allocations: 11.98 kB / 0.6147 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.5506, allocations: 8 kB / 0.6147 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.5507, allocations: 7.938 kB / 0.6147 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.5507, allocations: 3.984 kB / 0.6147 GB, free: 4.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.5508, allocations: 156.3 kB / 0.6149 GB, free: 4.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5508, allocations: 0 / 0.6149 GB, free: 4.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.5511, allocations: 35.88 kB / 0.6149 GB, free: 4.266 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.001057/0.5522, allocations: 472.3 kB / 0.6153 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.5524, allocations: 59.92 kB / 0.6154 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5524, allocations: 0 / 0.6154 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.5525, allocations: 35.98 kB / 0.6154 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.5529, allocations: 39 kB / 0.6155 GB, free: 3.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.5535, allocations: 295.7 kB / 0.6158 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5538, allocations: 0.7121 MB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.5538, allocations: 15.44 kB / 0.6165 GB, free: 2.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5538, allocations: 0 / 0.6165 GB, free: 2.77 MB / 426.7 MB Notification: Performance of Templates: time 0.004015/0.5579, allocations: 2.02 MB / 0.6184 GB, free: 0.7539 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches