Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 195 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.375/1.375, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008055/0.0008059, allocations: 98.86 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.376/0.376, allocations: 44.83 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3482, allocations: 62.96 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.4677, allocations: 90.72 MB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.468, allocations: 79.95 kB / 0.6051 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.4864, allocations: 6.973 MB / 0.612 GB, free: 7.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4865, allocations: 8 kB / 0.612 GB, free: 7.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4865, allocations: 0 / 0.612 GB, free: 7.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005697/0.4871, allocations: 466.8 kB / 0.6124 GB, free: 7.062 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4871, allocations: 8.031 kB / 0.6124 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.4872, allocations: 16.75 kB / 0.6124 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.4875, allocations: 248.1 kB / 0.6127 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.4875, allocations: 4.375 kB / 0.6127 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4875, allocations: 12.36 kB / 0.6127 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.4877, allocations: 58.22 kB / 0.6127 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4877, allocations: 192 / 0.6127 GB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4877, allocations: 7.938 kB / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4877, allocations: 0 / 0.6127 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.4878, allocations: 23.98 kB / 0.6128 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.4882, allocations: 316.8 kB / 0.6131 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.4885, allocations: 74.42 kB / 0.6131 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4885, allocations: 24.97 kB / 0.6132 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.4885, allocations: 0 / 0.6132 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.4887, allocations: 67.39 kB / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4887, allocations: 0 / 0.6132 GB, free: 6.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007454/0.4894, allocations: 256.9 kB / 0.6135 GB, free: 5.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.4895, allocations: 51.41 kB / 0.6135 GB, free: 5.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.4897, allocations: 250.5 kB / 0.6138 GB, free: 5.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4898, allocations: 29.7 kB / 0.6138 GB, free: 5.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.4898, allocations: 116 kB / 0.6139 GB, free: 5.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.4899, allocations: 35.55 kB / 0.6139 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.4899, allocations: 0 / 0.6139 GB, free: 5.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.49, allocations: 330.8 kB / 0.6143 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.4901, allocations: 39.98 kB / 0.6143 GB, free: 4.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.4902, allocations: 41.7 kB / 0.6143 GB, free: 4.918 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4903, allocations: 81.64 kB / 0.6144 GB, free: 4.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4903, allocations: 7.875 kB / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002242/0.4905, allocations: 125.5 kB / 0.6145 GB, free: 4.695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4906, allocations: 4 kB / 0.6145 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4906, allocations: 4.031 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4906, allocations: 0 / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.4907, allocations: 31.92 kB / 0.6146 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4907, allocations: 0 / 0.6146 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.4907, allocations: 4 kB / 0.6146 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4908, allocations: 4.703 kB / 0.6146 GB, free: 4.648 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 (13): * Single equations (assignments): 13 * 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.0001036/0.4909, allocations: 135.6 kB / 0.6147 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.4909, allocations: 15.81 kB / 0.6147 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.4912, allocations: 164.5 kB / 0.6149 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.4912, allocations: 4 kB / 0.6149 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4912, allocations: 4 kB / 0.6149 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4912, allocations: 3.984 kB / 0.6149 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.4918, allocations: 491.9 kB / 0.6154 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4918, allocations: 4.062 kB / 0.6154 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.4918, allocations: 12 kB / 0.6154 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4919, allocations: 4 kB / 0.6154 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4919, allocations: 3.938 kB / 0.6154 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4919, allocations: 4 kB / 0.6154 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4919, allocations: 3.984 kB / 0.6154 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.4922, allocations: 240.9 kB / 0.6156 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.4922, allocations: 104.9 kB / 0.6157 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4923, allocations: 3.938 kB / 0.6157 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.4923, allocations: 4 kB / 0.6157 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4924, allocations: 11.98 kB / 0.6157 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4924, allocations: 4 kB / 0.6157 GB, free: 3.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4926, allocations: 192.2 kB / 0.6159 GB, free: 3.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4926, allocations: 0 / 0.6159 GB, free: 3.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.4929, allocations: 39.94 kB / 0.616 GB, free: 3.109 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001079/0.494, allocations: 0.5269 MB / 0.6165 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.4942, allocations: 79.91 kB / 0.6166 GB, free: 2.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4942, allocations: 0 / 0.6166 GB, free: 2.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.4943, allocations: 47.92 kB / 0.6166 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4946, allocations: 31.61 kB / 0.6166 GB, free: 2.617 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.4952, allocations: 369.7 kB / 0.617 GB, free: 2.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4955, allocations: 0.7199 MB / 0.6177 GB, free: 1.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.4955, allocations: 23.44 kB / 0.6177 GB, free: 1.449 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4955, allocations: 0 / 0.6177 GB, free: 1.449 MB / 426.7 MB Notification: Performance of Templates: time 0.003917/0.4995, allocations: 2.378 MB / 0.62 GB, free: 15.08 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches