Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008953/0.0008954, allocations: 167.6 kB / 8.739 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.332/1.332, 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.0008526/0.0008526, allocations: 102 kB / 281.6 MB, free: 5.312 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.184/0.184, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.969e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5501, allocations: 88.56 MB / 0.5812 GB, free: 7.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5504, allocations: 71.97 kB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.5659, allocations: 5.85 MB / 0.5869 GB, free: 2.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.566, allocations: 0 / 0.5869 GB, free: 2.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.566, allocations: 0 / 0.5869 GB, free: 2.031 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.0004877/0.5665, allocations: 422.1 kB / 0.5874 GB, free: 1.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5666, allocations: 11.98 kB / 0.5874 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.5666, allocations: 7.906 kB / 0.5874 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.5669, allocations: 230.2 kB / 0.5876 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.567, allocations: 7.953 kB / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.567, allocations: 0 / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.415e-05/0.5671, allocations: 19.98 kB / 0.5876 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5672, allocations: 57.62 kB / 0.5877 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5672, allocations: 0 / 0.5877 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5672, allocations: 0 / 0.5877 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.5672, allocations: 3.938 kB / 0.5877 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.5676, allocations: 285.4 kB / 0.5879 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.5678, allocations: 46.69 kB / 0.588 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.5678, allocations: 20.98 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5678, allocations: 7.984 kB / 0.588 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.568, allocations: 71.23 kB / 0.5881 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.568, allocations: 0 / 0.5881 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004295/0.5684, allocations: 149.2 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.5685, allocations: 59.33 kB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.5687, allocations: 230.1 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.5688, allocations: 29.7 kB / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.5688, allocations: 112.1 kB / 0.5886 GB, free: 108 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.5689, allocations: 19.66 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5689, allocations: 4 kB / 0.5887 GB, free: 84 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5691, allocations: 326.8 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.5691, allocations: 16 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.5692, allocations: 29.72 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.5692, allocations: 31.94 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5692, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/0.5694, allocations: 97.42 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5694, allocations: 4 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5694, allocations: 4 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5694, allocations: 0 / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5696, allocations: 16.36 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.5696, allocations: 4 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5696, allocations: 7.938 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.5696, allocations: 4 kB / 0.5892 GB, free: 15.53 MB / 410.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 (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.618e-05/0.5697, allocations: 116.9 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.5698, allocations: 15.81 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.57, allocations: 111.5 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.57, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.57, allocations: 3.984 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.57, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.5705, allocations: 403.8 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5705, allocations: 4 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.5706, allocations: 11.94 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5706, allocations: 3.938 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5706, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5706, allocations: 4 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5706, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.5708, allocations: 226 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.5709, allocations: 96.92 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.571, allocations: 4 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5711, allocations: 7.984 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.5711, allocations: 4 kB / 0.5901 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.5712, allocations: 4 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.5713, allocations: 192.2 kB / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5714, allocations: 0 / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000257/0.5716, allocations: 35.94 kB / 0.5904 GB, free: 14.21 MB / 410.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) * 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.0009737/0.5726, allocations: 392.7 kB / 0.5907 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.5727, allocations: 59.91 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5728, allocations: 0 / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.5728, allocations: 27.94 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5731, allocations: 29.28 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.5735, allocations: 222 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.5738, allocations: 0.7237 MB / 0.5918 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.5739, allocations: 24.42 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.574, allocations: 19.42 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.574, allocations: 0 / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of Templates: time 0.004264/0.5782, allocations: 1.758 MB / 0.5935 GB, free: 11 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches