Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008521/0.0008522, allocations: 187 kB / 18.09 MB, free: 3.723 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.207/1.207, 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.0008119/0.000812, allocations: 107.6 kB / 293.3 MB, free: 10.77 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.2843/0.2843, allocations: 44.14 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2737, allocations: 61.87 MB / 0.5107 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3746, allocations: 89.22 MB / 0.5979 GB, free: 5.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.3748, allocations: 71.95 kB / 0.5979 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01092/0.3858, allocations: 4.722 MB / 0.6025 GB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3858, allocations: 4 kB / 0.6025 GB, free: 1.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.3858, allocations: 4 kB / 0.6025 GB, free: 1.047 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.0004311/0.3862, allocations: 395.2 kB / 0.6029 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3863, allocations: 15.97 kB / 0.6029 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3863, allocations: 8.844 kB / 0.6029 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3866, allocations: 200.1 kB / 0.6031 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3866, allocations: 4.375 kB / 0.6031 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3866, allocations: 8.359 kB / 0.6031 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3868, allocations: 75.95 kB / 0.6032 GB, free: 260 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3868, allocations: 4.125 kB / 0.6032 GB, free: 256 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3868, allocations: 11.94 kB / 0.6032 GB, free: 244 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3869, allocations: 4 kB / 0.6032 GB, free: 240 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.387, allocations: 51.89 kB / 0.6033 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.3875, allocations: 312.8 kB / 0.6036 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3877, allocations: 54.56 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.3877, allocations: 28.94 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3878, allocations: 3.984 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3878, allocations: 34.5 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.3878, allocations: 4 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008065/0.3886, allocations: 257.1 kB / 0.6039 GB, free: 15.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.3887, allocations: 81.11 kB / 0.604 GB, free: 15.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3888, allocations: 139.1 kB / 0.6042 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3889, allocations: 29.7 kB / 0.6042 GB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3889, allocations: 92.12 kB / 0.6043 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3889, allocations: 23.66 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.389, allocations: 0 / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3891, allocations: 326.8 kB / 0.6046 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3892, allocations: 47.97 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3893, allocations: 61.67 kB / 0.6047 GB, free: 14.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.3896, allocations: 108.8 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3896, allocations: 0 / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003017/0.3899, allocations: 137.5 kB / 0.6049 GB, free: 14.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3899, allocations: 4 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3899, allocations: 0 / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.39, allocations: 0 / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3901, allocations: 27.98 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3901, allocations: 3.984 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.3902, allocations: 12 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3902, allocations: 4 kB / 0.605 GB, free: 14.29 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 (7): * Single equations (assignments): 7 * 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.0001019/0.3903, allocations: 126.3 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3903, allocations: 11.84 kB / 0.6051 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.3907, allocations: 154.6 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3907, allocations: 0 / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3907, allocations: 4 kB / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3907, allocations: 4 kB / 0.6053 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.3913, allocations: 434.4 kB / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3913, allocations: 0 / 0.6057 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-05/0.3914, allocations: 27.92 kB / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3914, allocations: 0 / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3914, allocations: 0 / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3914, allocations: 3.938 kB / 0.6057 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3914, allocations: 3.938 kB / 0.6057 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.3917, allocations: 239.4 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.3918, allocations: 93 kB / 0.6061 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3918, allocations: 4 kB / 0.6061 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.3919, allocations: 19.94 kB / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3919, allocations: 3.984 kB / 0.6061 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.392, allocations: 4.281 kB / 0.6061 GB, free: 13.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.3921, allocations: 108.7 kB / 0.6062 GB, free: 12.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3921, allocations: 0 / 0.6062 GB, free: 12.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.3923, allocations: 35.94 kB / 0.6062 GB, free: 12.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008801/0.3932, allocations: 456.6 kB / 0.6067 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3935, allocations: 103.9 kB / 0.6068 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3935, allocations: 4 kB / 0.6068 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3937, allocations: 55.91 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.394, allocations: 15.98 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.3944, allocations: 213.3 kB / 0.607 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3946, allocations: 0.7043 MB / 0.6077 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.141e-05/0.3947, allocations: 28.94 kB / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.3948, allocations: 15.44 kB / 0.6078 GB, free: 11.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3948, allocations: 3.938 kB / 0.6078 GB, free: 11.46 MB / 426.7 MB Notification: Performance of Templates: time 0.003638/0.3984, allocations: 1.47 MB / 0.6092 GB, free: 10 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches