Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 178.5 kB / 18.08 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008747, allocations: 101 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2665, allocations: 61.88 MB / 0.5107 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09722/0.3638, allocations: 89.28 MB / 0.5979 GB, free: 5.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.3641, allocations: 75.95 kB / 0.598 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.3788, allocations: 5.53 MB / 0.6034 GB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3788, allocations: 0 / 0.6034 GB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3789, allocations: 3.938 kB / 0.6034 GB, free: 196 kB / 410.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.0004622/0.3793, allocations: 423 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3794, allocations: 16.03 kB / 0.6038 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3794, allocations: 12.83 kB / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3797, allocations: 221.6 kB / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3797, allocations: 384 / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3797, allocations: 4.375 kB / 0.604 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3799, allocations: 54.23 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3799, allocations: 4.125 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3799, allocations: 11.86 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.3799, allocations: 0 / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.38, allocations: 23.98 kB / 0.6041 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.3803, allocations: 296.9 kB / 0.6044 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3805, allocations: 62.61 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.3806, allocations: 20.8 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3806, allocations: 4 kB / 0.6045 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3807, allocations: 75.38 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.3808, allocations: 0 / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004895/0.3812, allocations: 181 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3813, allocations: 51.41 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3815, allocations: 199.3 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3815, allocations: 29.7 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.3816, allocations: 104.1 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3816, allocations: 27.64 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.3816, allocations: 4 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3817, allocations: 326.8 kB / 0.6055 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.3818, allocations: 20 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.157e-05/0.3819, allocations: 37.69 kB / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.382, allocations: 65.83 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.382, allocations: 0 / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.3822, allocations: 105.5 kB / 0.6057 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3822, allocations: 4 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3822, allocations: 0 / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3822, allocations: 0 / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.3823, allocations: 19.98 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3823, allocations: 0 / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.3824, allocations: 4 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3824, allocations: 8.031 kB / 0.6057 GB, free: 13.58 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 8.712e-05/0.3825, allocations: 129.8 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3825, allocations: 11.81 kB / 0.6058 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3828, allocations: 127.1 kB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3828, allocations: 4 kB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3828, allocations: 0 / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3828, allocations: 0 / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3832, allocations: 419.4 kB / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3833, allocations: 0 / 0.6064 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.3833, allocations: 19.94 kB / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3833, allocations: 0 / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3833, allocations: 0 / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3833, allocations: 8.062 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3833, allocations: 7.922 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3836, allocations: 216.2 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3836, allocations: 93 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3837, allocations: 4 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.3837, allocations: 4 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3838, allocations: 7.922 kB / 0.6067 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.3838, allocations: 8.375 kB / 0.6067 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3839, allocations: 148.9 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3839, allocations: 4 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.3842, allocations: 31.94 kB / 0.6069 GB, free: 12.25 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.0009049/0.3851, allocations: 475.3 kB / 0.6074 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.3853, allocations: 67.86 kB / 0.6074 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3853, allocations: 0 / 0.6074 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.3854, allocations: 31.92 kB / 0.6074 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3857, allocations: 31.97 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.3861, allocations: 258.2 kB / 0.6077 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3864, allocations: 0.7043 MB / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.3865, allocations: 20.84 kB / 0.6084 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3865, allocations: 19.44 kB / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3865, allocations: 0 / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of Templates: time 0.003757/0.3903, allocations: 1.727 MB / 0.6101 GB, free: 9.078 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches