Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008424/0.0008425, allocations: 178.5 kB / 18.09 MB, free: 3.746 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.191/1.191, allocations: 223.3 MB / 242.1 MB, free: 11.6 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.0007201/0.0007202, allocations: 89.86 kB / 293.3 MB, free: 10.78 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.2727/0.2727, allocations: 44.16 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003384, allocations: 16 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.262, allocations: 61.87 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09307/0.3552, allocations: 88.18 MB / 0.5968 GB, free: 6.906 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.3554, allocations: 71.95 kB / 0.5969 GB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01052/0.3659, allocations: 4.528 MB / 0.6013 GB, free: 2.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.366, allocations: 3.938 kB / 0.6013 GB, free: 2.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.366, allocations: 8 kB / 0.6013 GB, free: 2.297 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005007/0.3665, allocations: 418.9 kB / 0.6017 GB, free: 1.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3665, allocations: 12.03 kB / 0.6017 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.3666, allocations: 16.75 kB / 0.6018 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3669, allocations: 216 kB / 0.602 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3669, allocations: 8.312 kB / 0.602 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3669, allocations: 4.375 kB / 0.602 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3671, allocations: 58.17 kB / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3671, allocations: 192 / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3671, allocations: 7.938 kB / 0.602 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3671, allocations: 7.984 kB / 0.6021 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.3672, allocations: 31.98 kB / 0.6021 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3677, allocations: 316.7 kB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3678, allocations: 58.48 kB / 0.6024 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.3679, allocations: 20.86 kB / 0.6025 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3679, allocations: 96 / 0.6025 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.368, allocations: 34.55 kB / 0.6025 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.368, allocations: 0 / 0.6025 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009119/0.3689, allocations: 269 kB / 0.6028 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3689, allocations: 51.41 kB / 0.6028 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3692, allocations: 263 kB / 0.6031 GB, free: 360 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3693, allocations: 25.7 kB / 0.6031 GB, free: 328 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.3693, allocations: 112.1 kB / 0.6032 GB, free: 212 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.3694, allocations: 31.55 kB / 0.6032 GB, free: 180 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.3694, allocations: 3.938 kB / 0.6032 GB, free: 176 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3695, allocations: 334.8 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.3696, allocations: 27.98 kB / 0.6036 GB, free: 15.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.3697, allocations: 40.03 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.3699, allocations: 80.83 kB / 0.6037 GB, free: 15.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3699, allocations: 0 / 0.6037 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.3701, allocations: 125.5 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3701, allocations: 4 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3701, allocations: 4 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3702, allocations: 7.938 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3703, allocations: 23.92 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3703, allocations: 0 / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.3703, allocations: 4 kB / 0.6038 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3704, allocations: 11.94 kB / 0.6039 GB, free: 15.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001219/0.3705, allocations: 138.3 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.3705, allocations: 11.81 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.3708, allocations: 147.3 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3709, allocations: 4 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3709, allocations: 3.938 kB / 0.6041 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3709, allocations: 0 / 0.6041 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.3715, allocations: 459.2 kB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3715, allocations: 0 / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.3716, allocations: 23.98 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3716, allocations: 4 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3716, allocations: 7.969 kB / 0.6046 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3716, allocations: 0 / 0.6046 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3716, allocations: 0 / 0.6046 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3719, allocations: 232.1 kB / 0.6048 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.372, allocations: 96.91 kB / 0.6049 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.372, allocations: 11.94 kB / 0.6049 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.3721, allocations: 7.984 kB / 0.6049 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3722, allocations: 4.422 kB / 0.605 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3722, allocations: 4 kB / 0.605 GB, free: 14.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.3724, allocations: 197 kB / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3724, allocations: 0 / 0.6051 GB, free: 14.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.3727, allocations: 39.92 kB / 0.6052 GB, free: 14.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00105/0.3738, allocations: 455.8 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.374, allocations: 95.81 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.374, allocations: 0 / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.3741, allocations: 39.98 kB / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3744, allocations: 19.97 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.3751, allocations: 347.1 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3754, allocations: 0.716 MB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.3755, allocations: 24.64 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.3756, allocations: 15.44 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3756, allocations: 3.938 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Templates: time 0.00352/0.3791, allocations: 1.501 MB / 0.6083 GB, free: 10.96 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches