Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009785/0.0009785, allocations: 193.5 kB / 16.78 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.5 MB / 244.1 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00078/0.0007799, allocations: 97.58 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3606/0.3606, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.000267, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3392, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4552, allocations: 90.64 MB / 0.605 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4555, allocations: 79.95 kB / 0.6051 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.4729, allocations: 6.673 MB / 0.6116 GB, free: 7.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.473, allocations: 0 / 0.6116 GB, free: 7.992 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.473, allocations: 8 kB / 0.6116 GB, free: 7.984 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.0005456/0.4736, allocations: 458.7 kB / 0.612 GB, free: 7.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4736, allocations: 12.03 kB / 0.612 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.4737, allocations: 12.75 kB / 0.6121 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.474, allocations: 245.5 kB / 0.6123 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.474, allocations: 384 / 0.6123 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4741, allocations: 8.375 kB / 0.6123 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4742, allocations: 54.23 kB / 0.6123 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4742, allocations: 192 / 0.6123 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4743, allocations: 3.938 kB / 0.6123 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4743, allocations: 0 / 0.6123 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.4743, allocations: 19.98 kB / 0.6124 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.4747, allocations: 300.9 kB / 0.6127 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.4749, allocations: 66.61 kB / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.475, allocations: 20.84 kB / 0.6127 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.475, allocations: 0 / 0.6127 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.4752, allocations: 67.39 kB / 0.6128 GB, free: 6.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4752, allocations: 0 / 0.6128 GB, free: 6.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005218/0.4757, allocations: 197 kB / 0.613 GB, free: 6.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.4758, allocations: 51.41 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.476, allocations: 230.9 kB / 0.6133 GB, free: 6.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.476, allocations: 33.64 kB / 0.6133 GB, free: 6.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4761, allocations: 108.1 kB / 0.6134 GB, free: 5.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.4761, allocations: 19.72 kB / 0.6134 GB, free: 5.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.4761, allocations: 4 kB / 0.6134 GB, free: 5.906 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4763, allocations: 338.7 kB / 0.6137 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.4763, allocations: 20 kB / 0.6138 GB, free: 5.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/0.4764, allocations: 37.7 kB / 0.6138 GB, free: 5.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.4765, allocations: 61.77 kB / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4765, allocations: 0 / 0.6139 GB, free: 5.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.4767, allocations: 109.4 kB / 0.614 GB, free: 5.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4768, allocations: 6.375 kB / 0.614 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4768, allocations: 4 kB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.4768, allocations: 4 kB / 0.614 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.4769, allocations: 23.92 kB / 0.614 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4769, allocations: 0 / 0.614 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.4769, allocations: 4 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.477, allocations: 4.375 kB / 0.614 GB, free: 5.281 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.957e-05/0.4771, allocations: 135.2 kB / 0.6141 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.4771, allocations: 11.81 kB / 0.6141 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.4773, allocations: 130.9 kB / 0.6143 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4774, allocations: 0 / 0.6143 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4774, allocations: 4 kB / 0.6143 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4774, allocations: 0 / 0.6143 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.4779, allocations: 431.2 kB / 0.6147 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4779, allocations: 0 / 0.6147 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.4779, allocations: 12 kB / 0.6147 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4779, allocations: 4.031 kB / 0.6147 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4779, allocations: 288 / 0.6147 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4779, allocations: 4 kB / 0.6147 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.478, allocations: 3.938 kB / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.4782, allocations: 216.1 kB / 0.6149 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.4783, allocations: 96.92 kB / 0.615 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4783, allocations: 7.984 kB / 0.615 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.4784, allocations: 8 kB / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.4785, allocations: 15.91 kB / 0.615 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4785, allocations: 7.938 kB / 0.615 GB, free: 4.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.4786, allocations: 176.3 kB / 0.6152 GB, free: 3.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4786, allocations: 0 / 0.6152 GB, free: 3.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.4789, allocations: 35.94 kB / 0.6152 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.0009703/0.4799, allocations: 465.7 kB / 0.6157 GB, free: 3.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.4801, allocations: 67.89 kB / 0.6158 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4801, allocations: 0 / 0.6158 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.4801, allocations: 27.98 kB / 0.6158 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4805, allocations: 33.11 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.000509/0.481, allocations: 332.1 kB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.4813, allocations: 0.7043 MB / 0.6168 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.4814, allocations: 23.42 kB / 0.6168 GB, free: 2.367 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4814, allocations: 0 / 0.6168 GB, free: 2.367 MB / 426.7 MB Notification: Performance of Templates: time 0.003505/0.4849, allocations: 2.08 MB / 0.6189 GB, free: 304 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches