Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 168 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 100.5 kB / 281.6 MB, free: 5.32 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.1707/0.1707, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.745e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4707, allocations: 88.37 MB / 0.581 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.471, allocations: 71.97 kB / 0.5811 GB, free: 8.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.4848, allocations: 5.681 MB / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4849, allocations: 0 / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4849, allocations: 0 / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003742/0.4853, allocations: 402.3 kB / 0.587 GB, free: 1.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4853, allocations: 11.98 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.4853, allocations: 19.81 kB / 0.587 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.4856, allocations: 226.3 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4857, allocations: 4 kB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.4857, allocations: 3.953 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.829e-05/0.4858, allocations: 15.98 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.4858, allocations: 41.69 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4858, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.4859, allocations: 7.984 kB / 0.5873 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4859, allocations: 4 kB / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.486, allocations: 166.2 kB / 0.5875 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.4861, allocations: 50.62 kB / 0.5875 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.4862, allocations: 16.86 kB / 0.5875 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4862, allocations: 0 / 0.5875 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.707e-05/0.4863, allocations: 71.38 kB / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4863, allocations: 0 / 0.5876 GB, free: 1.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001652/0.4865, allocations: 85.42 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.4865, allocations: 51.41 kB / 0.5877 GB, free: 1.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.4867, allocations: 222.1 kB / 0.5879 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4867, allocations: 29.7 kB / 0.588 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.4868, allocations: 108.1 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.4868, allocations: 15.81 kB / 0.5881 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.4868, allocations: 4 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.4869, allocations: 323.6 kB / 0.5884 GB, free: 344 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.487, allocations: 12 kB / 0.5884 GB, free: 332 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.487, allocations: 29.7 kB / 0.5884 GB, free: 296 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.487, allocations: 12 kB / 0.5885 GB, free: 284 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.487, allocations: 0 / 0.5885 GB, free: 284 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.4872, allocations: 73.53 kB / 0.5885 GB, free: 204 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4872, allocations: 9.281 kB / 0.5885 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4872, allocations: 7.984 kB / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4872, allocations: 7.891 kB / 0.5885 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.4873, allocations: 12 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4873, allocations: 4 kB / 0.5886 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.4873, allocations: 7.844 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4874, allocations: 4 kB / 0.5886 GB, free: 152 kB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.897e-05/0.4874, allocations: 106.4 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.4874, allocations: 15.89 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.4876, allocations: 107.5 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4876, allocations: 0 / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4876, allocations: 3.953 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4876, allocations: 0 / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4878, allocations: 190.1 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4878, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.4878, allocations: 4 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4878, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4878, allocations: 3.984 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.4879, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.4879, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.488, allocations: 112.9 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.4881, allocations: 108.8 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.4881, allocations: 0 / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.4881, allocations: 7.984 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.4882, allocations: 0 / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.4882, allocations: 4 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4883, allocations: 188.2 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4884, allocations: 4 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.4886, allocations: 27.98 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0006899/0.4893, allocations: 348.1 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.4894, allocations: 35.94 kB / 0.5898 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4894, allocations: 4 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.4894, allocations: 20.06 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4896, allocations: 33.16 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.49, allocations: 197.2 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.4902, allocations: 0.7197 MB / 0.5907 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.4903, allocations: 16.42 kB / 0.5907 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.4903, allocations: 23.42 kB / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4903, allocations: 0 / 0.5908 GB, free: 13.83 MB / 410.7 MB Notification: Performance of Templates: time 0.003581/0.4939, allocations: 1.522 MB / 0.5923 GB, free: 12.31 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches