Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008799/0.0008799, allocations: 179 kB / 18.09 MB, free: 3.605 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.201/1.201, 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.0007066/0.0007067, allocations: 93.42 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.2675/0.2675, allocations: 44.15 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 16 kB / 461.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2644, allocations: 61.87 MB / 0.5107 GB, free: 38.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09514/0.3596, allocations: 88.17 MB / 0.5968 GB, free: 6.938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3598, allocations: 79.95 kB / 0.5969 GB, free: 6.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.3698, allocations: 4.296 MB / 0.6011 GB, free: 2.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3699, allocations: 3.938 kB / 0.6011 GB, free: 2.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3699, allocations: 0 / 0.6011 GB, free: 2.562 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.0003577/0.3702, allocations: 415 kB / 0.6015 GB, free: 2.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3703, allocations: 12.03 kB / 0.6015 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3703, allocations: 8.844 kB / 0.6015 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3705, allocations: 201.2 kB / 0.6017 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3705, allocations: 8.312 kB / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3706, allocations: 8.359 kB / 0.6017 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3707, allocations: 58.19 kB / 0.6018 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3707, allocations: 4.188 kB / 0.6018 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3707, allocations: 3.938 kB / 0.6018 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3707, allocations: 0 / 0.6018 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.3708, allocations: 31.97 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.3712, allocations: 308.7 kB / 0.6021 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/0.3713, allocations: 54.48 kB / 0.6022 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.3713, allocations: 16.86 kB / 0.6022 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3714, allocations: 4 kB / 0.6022 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3714, allocations: 34.64 kB / 0.6022 GB, free: 1.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3714, allocations: 0 / 0.6022 GB, free: 1.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007823/0.3722, allocations: 257.1 kB / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3722, allocations: 55.34 kB / 0.6025 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3724, allocations: 204 kB / 0.6027 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3724, allocations: 25.7 kB / 0.6027 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.3725, allocations: 112 kB / 0.6028 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.3725, allocations: 27.59 kB / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.3725, allocations: 0 / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.3726, allocations: 330.8 kB / 0.6032 GB, free: 224 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.3727, allocations: 31.97 kB / 0.6032 GB, free: 192 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/0.3728, allocations: 31.98 kB / 0.6032 GB, free: 160 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.373, allocations: 93.09 kB / 0.6033 GB, free: 64 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.373, allocations: 0 / 0.6033 GB, free: 64 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.3732, allocations: 125.5 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3732, allocations: 5.406 kB / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3732, allocations: 0 / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.547e-06/0.3733, allocations: 0 / 0.6035 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.3734, allocations: 24.34 kB / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3734, allocations: 0 / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.3734, allocations: 8 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3734, allocations: 7.938 kB / 0.6035 GB, free: 15.89 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.837e-05/0.3735, allocations: 138.3 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.3736, allocations: 7.906 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.3738, allocations: 134.3 kB / 0.6038 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3738, allocations: 7.922 kB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3739, allocations: 0 / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3739, allocations: 4 kB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.3744, allocations: 447.1 kB / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3744, allocations: 0 / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3745, allocations: 20.03 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3745, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3745, allocations: 7.922 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3745, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3745, allocations: 4 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3747, allocations: 220.2 kB / 0.6044 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.3748, allocations: 97 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3748, allocations: 7.938 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.3749, allocations: 4 kB / 0.6045 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3749, allocations: 7.984 kB / 0.6046 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.375, allocations: 8 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3751, allocations: 152 kB / 0.6047 GB, free: 14.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3751, allocations: 4 kB / 0.6047 GB, free: 14.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.3753, allocations: 28 kB / 0.6047 GB, free: 14.51 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.000846/0.3762, allocations: 465.6 kB / 0.6052 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3764, allocations: 87.88 kB / 0.6053 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.3764, allocations: 0 / 0.6053 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.3765, allocations: 43.97 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.3767, allocations: 24.05 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.3772, allocations: 286.2 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3774, allocations: 0.7083 MB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.3775, allocations: 20.97 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3775, allocations: 11.44 kB / 0.6063 GB, free: 13 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3775, allocations: 3.938 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of Templates: time 0.003161/0.3807, allocations: 1.377 MB / 0.6077 GB, free: 11.62 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches