Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 174.4 kB / 8.74 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.478/1.478, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008453/0.0008454, allocations: 99.09 kB / 281.6 MB, free: 5.309 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.1765/0.1765, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.577e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5462, allocations: 88.55 MB / 0.5812 GB, free: 7.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5464, allocations: 71.97 kB / 0.5812 GB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.5617, allocations: 5.847 MB / 0.5869 GB, free: 2.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5617, allocations: 0 / 0.5869 GB, free: 2.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5617, allocations: 4 kB / 0.587 GB, free: 2.043 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.0005059/0.5622, allocations: 422.1 kB / 0.5874 GB, free: 1.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5623, allocations: 11.98 kB / 0.5874 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.5623, allocations: 11.91 kB / 0.5874 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.5627, allocations: 234.8 kB / 0.5876 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5627, allocations: 3.953 kB / 0.5876 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.5627, allocations: 4 kB / 0.5876 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.461e-05/0.5628, allocations: 12 kB / 0.5876 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.583e-05/0.5629, allocations: 57.61 kB / 0.5877 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.563, allocations: 4 kB / 0.5877 GB, free: 1.207 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.563, allocations: 3.938 kB / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.563, allocations: 7.938 kB / 0.5877 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.5634, allocations: 277.5 kB / 0.588 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.5635, allocations: 50.69 kB / 0.588 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.5636, allocations: 20.98 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.5636, allocations: 0 / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.5637, allocations: 75.22 kB / 0.5881 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5637, allocations: 0 / 0.5881 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004788/0.5642, allocations: 149.2 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.5643, allocations: 55.34 kB / 0.5883 GB, free: 0.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.5645, allocations: 226.1 kB / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5646, allocations: 33.7 kB / 0.5885 GB, free: 236 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.5646, allocations: 108.1 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.5647, allocations: 23.66 kB / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5647, allocations: 0 / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5648, allocations: 326.8 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.5649, allocations: 23.98 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.5649, allocations: 29.72 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.565, allocations: 28 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.565, allocations: 4 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001435/0.5651, allocations: 101.4 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5651, allocations: 5.406 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5652, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5652, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.5653, allocations: 19.98 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5653, allocations: 192 / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.5653, allocations: 8 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5654, allocations: 0 / 0.5892 GB, free: 15.54 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 7.349e-05/0.5654, allocations: 114.3 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.5655, allocations: 19.75 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.5657, allocations: 107.5 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5657, allocations: 4.281 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5657, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5657, allocations: 3.984 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.5661, allocations: 411.8 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5661, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.5662, allocations: 11.94 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.5662, allocations: 7.938 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5662, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5662, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5662, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.5664, allocations: 222 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.5665, allocations: 100.9 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.5666, allocations: 4 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.5666, allocations: 7.984 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.5667, allocations: 4 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.5667, allocations: 4 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.5669, allocations: 188.2 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5669, allocations: 0 / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.5671, allocations: 39.92 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.0008797/0.568, allocations: 388 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.5682, allocations: 55.92 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5682, allocations: 0 / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.5682, allocations: 31.94 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.5685, allocations: 32.02 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.0004005/0.5689, allocations: 214 kB / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5692, allocations: 0.7329 MB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.5693, allocations: 16.42 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.5693, allocations: 23.42 kB / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5693, allocations: 0 / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of Templates: time 0.004658/0.574, allocations: 1.747 MB / 0.5935 GB, free: 11.02 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches