Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 183.3 kB / 18.09 MB, free: 3.727 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.189/1.189, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0007187/0.0007186, allocations: 89.8 kB / 293.3 MB, free: 10.79 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.2706/0.2706, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2629, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09688/0.3598, allocations: 88.18 MB / 0.5968 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.3601, allocations: 83.94 kB / 0.5969 GB, free: 6.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.3705, allocations: 4.288 MB / 0.6011 GB, free: 2.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3706, allocations: 4 kB / 0.6011 GB, free: 2.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3706, allocations: 0 / 0.6011 GB, free: 2.52 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.0003668/0.371, allocations: 407 kB / 0.6015 GB, free: 2.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.371, allocations: 8.031 kB / 0.6015 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.371, allocations: 12.84 kB / 0.6015 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3713, allocations: 217.1 kB / 0.6017 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3713, allocations: 384 / 0.6017 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3713, allocations: 4.375 kB / 0.6017 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3714, allocations: 58.19 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3715, allocations: 4.188 kB / 0.6018 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3715, allocations: 7.922 kB / 0.6018 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3715, allocations: 3.938 kB / 0.6018 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.3716, allocations: 27.98 kB / 0.6018 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.372, allocations: 312.7 kB / 0.6021 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.3721, allocations: 46.5 kB / 0.6022 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3721, allocations: 20.94 kB / 0.6022 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3722, allocations: 0 / 0.6022 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3722, allocations: 34.56 kB / 0.6022 GB, free: 1.215 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3722, allocations: 4 kB / 0.6022 GB, free: 1.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00082/0.373, allocations: 269.6 kB / 0.6025 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.3731, allocations: 51.41 kB / 0.6025 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3732, allocations: 196 kB / 0.6027 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3733, allocations: 29.7 kB / 0.6027 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.3733, allocations: 112 kB / 0.6028 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3733, allocations: 31.58 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.3734, allocations: 0 / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3735, allocations: 326.8 kB / 0.6032 GB, free: 176 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.3735, allocations: 31.97 kB / 0.6032 GB, free: 144 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.3736, allocations: 35.98 kB / 0.6033 GB, free: 108 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3738, allocations: 80.81 kB / 0.6033 GB, free: 24 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3738, allocations: 0 / 0.6033 GB, free: 24 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002241/0.374, allocations: 125.5 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.374, allocations: 6.344 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.374, allocations: 4 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3741, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.3742, allocations: 23.92 kB / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3742, allocations: 0 / 0.6035 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3742, allocations: 15.92 kB / 0.6035 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3742, allocations: 4 kB / 0.6035 GB, free: 15.84 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 8.605e-05/0.3743, allocations: 126.3 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.3744, allocations: 19.88 kB / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.3746, allocations: 130.7 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3746, allocations: 7.938 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3747, allocations: 4 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3747, allocations: 0 / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3752, allocations: 447.1 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3752, allocations: 0 / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.3752, allocations: 19.98 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3753, allocations: 0 / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3753, allocations: 7.938 kB / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3753, allocations: 0 / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3753, allocations: 0 / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3755, allocations: 220.2 kB / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3756, allocations: 100.9 kB / 0.6045 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3756, allocations: 3.938 kB / 0.6045 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.3757, allocations: 8 kB / 0.6045 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3757, allocations: 3.984 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3758, allocations: 12 kB / 0.6046 GB, free: 14.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3759, allocations: 156 kB / 0.6047 GB, free: 14.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3759, allocations: 0 / 0.6047 GB, free: 14.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.3761, allocations: 27.98 kB / 0.6047 GB, free: 14.46 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.0008707/0.377, allocations: 467.5 kB / 0.6052 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3772, allocations: 83.89 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3772, allocations: 0 / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.3773, allocations: 40.05 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.3776, allocations: 19.98 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.378, allocations: 290.2 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.3783, allocations: 0.7083 MB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.3784, allocations: 24.94 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.3784, allocations: 19.38 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3784, allocations: 0 / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003284/0.3817, allocations: 1.383 MB / 0.6077 GB, free: 11.57 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches