Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 175.9 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008036/0.0008037, allocations: 85.94 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3915/0.3915, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5676, allocations: 87.76 MB / 0.5657 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5679, allocations: 71.95 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.5827, allocations: 5.556 MB / 0.5712 GB, free: 8.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5827, allocations: 0 / 0.5712 GB, free: 8.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5827, allocations: 4 kB / 0.5712 GB, free: 8.66 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006403/0.5834, allocations: 437.8 kB / 0.5716 GB, free: 8.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5834, allocations: 12.03 kB / 0.5716 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5835, allocations: 8.844 kB / 0.5716 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.5839, allocations: 224 kB / 0.5718 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.5839, allocations: 5.125 kB / 0.5718 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.584, allocations: 4.375 kB / 0.5718 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.5841, allocations: 58.22 kB / 0.5719 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5842, allocations: 4.188 kB / 0.5719 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5842, allocations: 10.69 kB / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5842, allocations: 0 / 0.5719 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.5843, allocations: 23.98 kB / 0.5719 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.5848, allocations: 304.9 kB / 0.5722 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.585, allocations: 58.62 kB / 0.5723 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.5851, allocations: 28.78 kB / 0.5723 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5851, allocations: 3.938 kB / 0.5723 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.5853, allocations: 67.39 kB / 0.5724 GB, free: 7.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.5853, allocations: 0 / 0.5724 GB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.586, allocations: 181.1 kB / 0.5725 GB, free: 7.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.586, allocations: 55.39 kB / 0.5726 GB, free: 7.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.5863, allocations: 218.7 kB / 0.5728 GB, free: 6.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5863, allocations: 25.7 kB / 0.5728 GB, free: 6.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.5864, allocations: 108.1 kB / 0.5729 GB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.5864, allocations: 23.66 kB / 0.5729 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-06/0.5865, allocations: 4 kB / 0.5729 GB, free: 6.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5866, allocations: 330.8 kB / 0.5733 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.5867, allocations: 20 kB / 0.5733 GB, free: 6.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.5868, allocations: 37.7 kB / 0.5733 GB, free: 6.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.5869, allocations: 69.7 kB / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5869, allocations: 0 / 0.5734 GB, free: 6.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002504/0.5872, allocations: 109.4 kB / 0.5735 GB, free: 6.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.5872, allocations: 4 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5872, allocations: 0 / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5872, allocations: 0.9375 kB / 0.5735 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.5873, allocations: 19.98 kB / 0.5735 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5874, allocations: 4.031 kB / 0.5735 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.5874, allocations: 4 kB / 0.5735 GB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5874, allocations: 4 kB / 0.5735 GB, free: 6.012 MB / 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 () * 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 0.0001207/0.5876, allocations: 133.8 kB / 0.5737 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.5876, allocations: 19.8 kB / 0.5737 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.5879, allocations: 123.1 kB / 0.5738 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5879, allocations: 0 / 0.5738 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5879, allocations: 4 kB / 0.5738 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5879, allocations: 4 kB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.5884, allocations: 419.2 kB / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5885, allocations: 0 / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.5885, allocations: 19.92 kB / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5885, allocations: 0 / 0.5742 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5885, allocations: 4 kB / 0.5742 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5885, allocations: 4.375 kB / 0.5742 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.5886, allocations: 7.969 kB / 0.5742 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.5888, allocations: 212.1 kB / 0.5744 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.5889, allocations: 101 kB / 0.5745 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.5889, allocations: 0 / 0.5745 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.589, allocations: 7.984 kB / 0.5745 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5891, allocations: 7.938 kB / 0.5745 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.5891, allocations: 12 kB / 0.5746 GB, free: 4.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.5893, allocations: 170.4 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 0 / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.5895, allocations: 39.92 kB / 0.5748 GB, free: 4.641 MB / 394.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.001148/0.5907, allocations: 466.2 kB / 0.5752 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5909, allocations: 67.78 kB / 0.5753 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5909, allocations: 0 / 0.5753 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.591, allocations: 35.92 kB / 0.5753 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.5914, allocations: 27.97 kB / 0.5753 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.592, allocations: 280.9 kB / 0.5756 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5923, allocations: 0.72 MB / 0.5763 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.5924, allocations: 12.55 kB / 0.5763 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.5925, allocations: 19.44 kB / 0.5763 GB, free: 3.078 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5925, allocations: 0 / 0.5763 GB, free: 3.078 MB / 394.7 MB Notification: Performance of Templates: time 0.004822/0.5973, allocations: 1.758 MB / 0.578 GB, free: 1.332 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches