Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 193.5 kB / 16.78 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.44/1.44, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007974/0.000797, allocations: 104 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.348/0.348, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3972, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5223, allocations: 90.66 MB / 0.605 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5227, allocations: 75.97 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.5415, allocations: 6.819 MB / 0.6117 GB, free: 7.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5415, allocations: 0 / 0.6117 GB, free: 7.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5416, allocations: 0 / 0.6117 GB, free: 7.809 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.0006672/0.5422, allocations: 486.5 kB / 0.6122 GB, free: 7.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5423, allocations: 12.03 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.5424, allocations: 12.84 kB / 0.6122 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.5427, allocations: 240.9 kB / 0.6125 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5428, allocations: 384 / 0.6125 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.5428, allocations: 4.375 kB / 0.6125 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.5429, allocations: 58.17 kB / 0.6125 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.543, allocations: 192 / 0.6125 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.543, allocations: 3.938 kB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.543, allocations: 7.984 kB / 0.6125 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.5431, allocations: 15.98 kB / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.5435, allocations: 308.9 kB / 0.6128 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5437, allocations: 66.55 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.5438, allocations: 16.86 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.5438, allocations: 4 kB / 0.6129 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.5439, allocations: 75.28 kB / 0.613 GB, free: 6.352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5439, allocations: 0 / 0.613 GB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005471/0.5445, allocations: 181.1 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.5446, allocations: 59.41 kB / 0.6132 GB, free: 6.098 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.5449, allocations: 267.9 kB / 0.6135 GB, free: 5.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5449, allocations: 25.7 kB / 0.6135 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.545, allocations: 124 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.545, allocations: 19.8 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.545, allocations: 0 / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5451, allocations: 334.8 kB / 0.614 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.5452, allocations: 27.92 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.5453, allocations: 41.58 kB / 0.614 GB, free: 5.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.5454, allocations: 65.77 kB / 0.6141 GB, free: 5.168 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5454, allocations: 4 kB / 0.6141 GB, free: 5.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.5456, allocations: 101.4 kB / 0.6142 GB, free: 5.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5456, allocations: 6.969 kB / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5456, allocations: 0 / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5457, allocations: 384 / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.5457, allocations: 19.98 kB / 0.6142 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5458, allocations: 0 / 0.6142 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.5458, allocations: 15.91 kB / 0.6142 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5458, allocations: 32 / 0.6142 GB, free: 5.02 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.0001191/0.546, allocations: 147.8 kB / 0.6144 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.546, allocations: 19.8 kB / 0.6144 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.5463, allocations: 123 kB / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5463, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5463, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5463, allocations: 3.984 kB / 0.6145 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.5468, allocations: 451.2 kB / 0.6149 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5468, allocations: 0 / 0.6149 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.5469, allocations: 11.98 kB / 0.6149 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5469, allocations: 4 kB / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.5469, allocations: 0 / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5469, allocations: 0 / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5469, allocations: 7.938 kB / 0.615 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.5472, allocations: 212.2 kB / 0.6152 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.5472, allocations: 104.9 kB / 0.6153 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.5473, allocations: 0 / 0.6153 GB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.5474, allocations: 12.36 kB / 0.6153 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5474, allocations: 7.938 kB / 0.6153 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.5474, allocations: 0 / 0.6153 GB, free: 3.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5476, allocations: 200.6 kB / 0.6155 GB, free: 3.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5476, allocations: 3.938 kB / 0.6155 GB, free: 3.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.5479, allocations: 43.98 kB / 0.6155 GB, free: 3.586 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.001009/0.5489, allocations: 469.7 kB / 0.616 GB, free: 3.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5491, allocations: 63.91 kB / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5491, allocations: 0 / 0.616 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.5492, allocations: 36.08 kB / 0.6161 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.5496, allocations: 31.5 kB / 0.6161 GB, free: 3.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.5501, allocations: 356.7 kB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5505, allocations: 0.7199 MB / 0.6171 GB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.5505, allocations: 23.38 kB / 0.6172 GB, free: 2.016 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5506, allocations: 4 kB / 0.6172 GB, free: 2.012 MB / 426.7 MB Notification: Performance of Templates: time 0.003931/0.5545, allocations: 2.191 MB / 0.6193 GB, free: 15.82 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches