Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 192.6 kB / 16.78 MB, free: 4.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 226.5 MB / 244.1 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007658/0.0007658, allocations: 94.95 kB / 296.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2828/0.2828, allocations: 44.83 MB / 393 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 16 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2708, allocations: 62.95 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09946/0.3703, allocations: 91.56 MB / 0.6059 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.3705, allocations: 67.97 kB / 0.606 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.3839, allocations: 5.17 MB / 0.611 GB, free: 8.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3839, allocations: 0 / 0.611 GB, free: 8.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3839, allocations: 8 kB / 0.611 GB, free: 8.543 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005719/0.3845, allocations: 0.4928 MB / 0.6115 GB, free: 7.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3845, allocations: 8.031 kB / 0.6115 GB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3846, allocations: 16.75 kB / 0.6115 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3849, allocations: 249.5 kB / 0.6118 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3849, allocations: 384 / 0.6118 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.385, allocations: 16.38 kB / 0.6118 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3852, allocations: 106.2 kB / 0.6119 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3852, allocations: 192 / 0.6119 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3852, allocations: 7.938 kB / 0.6119 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3852, allocations: 3.938 kB / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3854, allocations: 63.91 kB / 0.6119 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.3859, allocations: 0.5126 MB / 0.6124 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3862, allocations: 94.66 kB / 0.6125 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.3863, allocations: 40.83 kB / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3863, allocations: 0 / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3865, allocations: 95.3 kB / 0.6127 GB, free: 6.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3865, allocations: 4 kB / 0.6127 GB, free: 6.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003822/0.3869, allocations: 149.4 kB / 0.6128 GB, free: 6.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.387, allocations: 51.78 kB / 0.6129 GB, free: 6.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3871, allocations: 206.9 kB / 0.6131 GB, free: 6.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3872, allocations: 25.7 kB / 0.6131 GB, free: 6.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.3872, allocations: 119.9 kB / 0.6132 GB, free: 6.078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3873, allocations: 35.56 kB / 0.6132 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.3873, allocations: 0 / 0.6132 GB, free: 6.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.3874, allocations: 330.8 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.3875, allocations: 35.97 kB / 0.6136 GB, free: 5.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.3876, allocations: 60.28 kB / 0.6136 GB, free: 5.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3878, allocations: 109.2 kB / 0.6137 GB, free: 5.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3878, allocations: 4 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000265/0.3881, allocations: 141.3 kB / 0.6139 GB, free: 5.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3881, allocations: 4 kB / 0.6139 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3881, allocations: 4 kB / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3881, allocations: 128 / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3883, allocations: 27.98 kB / 0.6139 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3883, allocations: 0 / 0.6139 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.3884, allocations: 19.83 kB / 0.6139 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3884, allocations: 15.92 kB / 0.614 GB, free: 5.262 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.939e-05/0.3885, allocations: 128.4 kB / 0.6141 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3885, allocations: 15.81 kB / 0.6141 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.3888, allocations: 139 kB / 0.6142 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3888, allocations: 0 / 0.6142 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3888, allocations: 4 kB / 0.6142 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3888, allocations: 192 / 0.6142 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.389, allocations: 217.5 kB / 0.6144 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.389, allocations: 3.938 kB / 0.6144 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.3891, allocations: 15.94 kB / 0.6145 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3891, allocations: 4 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3891, allocations: 7.984 kB / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3891, allocations: 0 / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3891, allocations: 0 / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.3895, allocations: 200.8 kB / 0.6147 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.3896, allocations: 100.9 kB / 0.6148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3896, allocations: 8.062 kB / 0.6148 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.3897, allocations: 7.984 kB / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3897, allocations: 11.94 kB / 0.6148 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3897, allocations: 7.984 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.3898, allocations: 155.8 kB / 0.6149 GB, free: 4.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3899, allocations: 0 / 0.6149 GB, free: 4.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.3901, allocations: 32.12 kB / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007923/0.3909, allocations: 406.7 kB / 0.6154 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3911, allocations: 91.89 kB / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3911, allocations: 0 / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.3912, allocations: 44.09 kB / 0.6155 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3915, allocations: 43.59 kB / 0.6155 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.392, allocations: 329.8 kB / 0.6158 GB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3923, allocations: 0.7126 MB / 0.6165 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3923, allocations: 19.38 kB / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3923, allocations: 0 / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of Templates: time 0.003667/0.396, allocations: 2.212 MB / 0.6187 GB, free: 396 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches