Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001072, allocations: 194.4 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.449/1.449, allocations: 226.5 MB / 244.1 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007848/0.0007845, allocations: 99.61 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3564/0.3564, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.405, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5301, allocations: 90.64 MB / 0.605 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5304, allocations: 75.97 kB / 0.6051 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.5491, allocations: 6.823 MB / 0.6117 GB, free: 7.836 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5492, allocations: 0 / 0.6117 GB, free: 7.836 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.5492, allocations: 4 kB / 0.6117 GB, free: 7.832 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.0006682/0.5499, allocations: 478.5 kB / 0.6122 GB, free: 7.312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5499, allocations: 8.031 kB / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.55, allocations: 12.84 kB / 0.6122 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.5503, allocations: 240.9 kB / 0.6124 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.5503, allocations: 4.375 kB / 0.6125 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5504, allocations: 384 / 0.6125 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5505, allocations: 58.17 kB / 0.6125 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5505, allocations: 8.172 kB / 0.6125 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5506, allocations: 7.922 kB / 0.6125 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5506, allocations: 0 / 0.6125 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.5507, allocations: 23.98 kB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.5511, allocations: 308.9 kB / 0.6128 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5513, allocations: 66.55 kB / 0.6129 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.5513, allocations: 20.86 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5514, allocations: 3.984 kB / 0.6129 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.5515, allocations: 71.3 kB / 0.613 GB, free: 6.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5516, allocations: 4 kB / 0.613 GB, free: 6.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005821/0.5521, allocations: 181.1 kB / 0.6132 GB, free: 6.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5522, allocations: 51.41 kB / 0.6132 GB, free: 6.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.5525, allocations: 275.9 kB / 0.6135 GB, free: 5.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.5525, allocations: 29.7 kB / 0.6135 GB, free: 5.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.5526, allocations: 116 kB / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5527, allocations: 23.8 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.5527, allocations: 4 kB / 0.6136 GB, free: 5.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5528, allocations: 326.8 kB / 0.614 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.5529, allocations: 27.92 kB / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.553, allocations: 37.64 kB / 0.614 GB, free: 5.266 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5531, allocations: 61.7 kB / 0.6141 GB, free: 5.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5531, allocations: 0 / 0.6141 GB, free: 5.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.5533, allocations: 113.4 kB / 0.6142 GB, free: 5.082 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5533, allocations: 6.5 kB / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5533, allocations: 0 / 0.6142 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5533, allocations: 7.984 kB / 0.6142 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.5534, allocations: 12 kB / 0.6142 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.5535, allocations: 0 / 0.6142 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.5535, allocations: 7.906 kB / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.5536, allocations: 4 kB / 0.6142 GB, free: 5.047 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.0001267/0.5537, allocations: 151.8 kB / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.5537, allocations: 15.81 kB / 0.6144 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.554, allocations: 123.1 kB / 0.6145 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.554, allocations: 0 / 0.6145 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.554, allocations: 4 kB / 0.6145 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.554, allocations: 0 / 0.6145 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.5545, allocations: 447.2 kB / 0.6149 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5546, allocations: 4 kB / 0.6149 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.5546, allocations: 11.98 kB / 0.6149 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5546, allocations: 0 / 0.6149 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5546, allocations: 0 / 0.6149 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5546, allocations: 4.375 kB / 0.615 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5546, allocations: 4.219 kB / 0.615 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.5549, allocations: 220.1 kB / 0.6152 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.555, allocations: 100.9 kB / 0.6153 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.555, allocations: 8 kB / 0.6153 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.5551, allocations: 7.984 kB / 0.6153 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.5552, allocations: 7.938 kB / 0.6153 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.5552, allocations: 4 kB / 0.6153 GB, free: 3.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.5554, allocations: 200.6 kB / 0.6155 GB, free: 3.652 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5554, allocations: 4 kB / 0.6155 GB, free: 3.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.5557, allocations: 39.98 kB / 0.6155 GB, free: 3.609 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.001075/0.5567, allocations: 459.5 kB / 0.616 GB, free: 3.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5569, allocations: 59.97 kB / 0.616 GB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.557, allocations: 4.062 kB / 0.616 GB, free: 3.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.557, allocations: 35.92 kB / 0.6161 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.5574, allocations: 30.7 kB / 0.6161 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.558, allocations: 360.6 kB / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.5584, allocations: 0.7222 MB / 0.6171 GB, free: 2.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.5584, allocations: 19.38 kB / 0.6172 GB, free: 2.043 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5584, allocations: 0 / 0.6172 GB, free: 2.043 MB / 426.7 MB Notification: Performance of Templates: time 0.004026/0.5624, allocations: 2.199 MB / 0.6193 GB, free: 15.85 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches