Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, 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.373/1.373, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008909, allocations: 106.4 kB / 296.2 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.327/0.327, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 16 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3292, allocations: 62.95 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.4348, allocations: 90.66 MB / 0.605 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4351, allocations: 75.97 kB / 0.6051 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01742/0.4525, allocations: 6.673 MB / 0.6116 GB, free: 7.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4525, allocations: 0 / 0.6116 GB, free: 7.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.4526, allocations: 0 / 0.6116 GB, free: 7.98 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.0005192/0.4531, allocations: 466.7 kB / 0.6121 GB, free: 7.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4531, allocations: 12.03 kB / 0.6121 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.4532, allocations: 16.75 kB / 0.6121 GB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4535, allocations: 241.5 kB / 0.6123 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4535, allocations: 384 / 0.6123 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4535, allocations: 4.375 kB / 0.6123 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.4537, allocations: 54.23 kB / 0.6124 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4537, allocations: 192 / 0.6124 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4537, allocations: 3.938 kB / 0.6124 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4537, allocations: 4 kB / 0.6124 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.4538, allocations: 23.98 kB / 0.6124 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.4542, allocations: 300.9 kB / 0.6127 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4543, allocations: 58.61 kB / 0.6127 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.4544, allocations: 24.84 kB / 0.6128 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.4544, allocations: 4 kB / 0.6128 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.4545, allocations: 75.38 kB / 0.6128 GB, free: 6.547 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4546, allocations: 0 / 0.6128 GB, free: 6.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000513/0.4551, allocations: 181 kB / 0.613 GB, free: 6.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.4551, allocations: 51.41 kB / 0.6131 GB, free: 6.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.4554, allocations: 234.9 kB / 0.6133 GB, free: 6.066 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4554, allocations: 33.64 kB / 0.6133 GB, free: 6.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.4554, allocations: 112.1 kB / 0.6134 GB, free: 5.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.4555, allocations: 19.7 kB / 0.6134 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.4555, allocations: 8 kB / 0.6134 GB, free: 5.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4556, allocations: 330.8 kB / 0.6138 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.4557, allocations: 19.94 kB / 0.6138 GB, free: 5.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.4558, allocations: 37.7 kB / 0.6138 GB, free: 5.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.4559, allocations: 61.7 kB / 0.6139 GB, free: 5.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4559, allocations: 4 kB / 0.6139 GB, free: 5.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.4561, allocations: 101.4 kB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4561, allocations: 8 kB / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4561, allocations: 192 / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.4561, allocations: 0 / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.4562, allocations: 27.86 kB / 0.614 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4562, allocations: 4 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.4563, allocations: 0 / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4563, allocations: 8.031 kB / 0.614 GB, free: 5.27 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.489e-05/0.4564, allocations: 133.8 kB / 0.6142 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.4564, allocations: 15.81 kB / 0.6142 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.4567, allocations: 127.1 kB / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4567, allocations: 0 / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4567, allocations: 4 kB / 0.6143 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4567, allocations: 0 / 0.6143 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.4572, allocations: 435.2 kB / 0.6147 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4572, allocations: 0 / 0.6147 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.4572, allocations: 8 kB / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4572, allocations: 0 / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4572, allocations: 4 kB / 0.6147 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4572, allocations: 0 / 0.6147 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4573, allocations: 7.922 kB / 0.6147 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4575, allocations: 216.2 kB / 0.6149 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.4576, allocations: 96.91 kB / 0.615 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4576, allocations: 8 kB / 0.615 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.4577, allocations: 4 kB / 0.615 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.4577, allocations: 11.92 kB / 0.615 GB, free: 4.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4577, allocations: 4.312 kB / 0.6151 GB, free: 4.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4579, allocations: 176.3 kB / 0.6152 GB, free: 3.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4579, allocations: 0 / 0.6152 GB, free: 3.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.4582, allocations: 36 kB / 0.6153 GB, free: 3.902 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.0009207/0.4591, allocations: 469.3 kB / 0.6157 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.4593, allocations: 63.92 kB / 0.6158 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4593, allocations: 0 / 0.6158 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.4594, allocations: 35.97 kB / 0.6158 GB, free: 3.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4597, allocations: 27.97 kB / 0.6158 GB, free: 3.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.4602, allocations: 332.2 kB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.4605, allocations: 0.7121 MB / 0.6168 GB, free: 2.383 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.4605, allocations: 19.44 kB / 0.6169 GB, free: 2.363 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4605, allocations: 0 / 0.6169 GB, free: 2.363 MB / 426.7 MB Notification: Performance of Templates: time 0.003447/0.464, allocations: 2.075 MB / 0.6189 GB, free: 304 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches