Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 179 kB / 18.09 MB, free: 3.75 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.196/1.196, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007681/0.000768, allocations: 98.2 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.2652/0.2652, allocations: 44.15 MB / 388.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 61.88 MB / 0.5107 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09635/0.3661, allocations: 88.36 MB / 0.597 GB, free: 6.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.3664, allocations: 83.94 kB / 0.5971 GB, free: 6.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.3766, allocations: 4.481 MB / 0.6015 GB, free: 2.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3766, allocations: 0 / 0.6015 GB, free: 2.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3766, allocations: 8 kB / 0.6015 GB, free: 2.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003218/0.377, allocations: 383.2 kB / 0.6018 GB, free: 1.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.377, allocations: 8.031 kB / 0.6019 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.377, allocations: 12.83 kB / 0.6019 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3772, allocations: 189.2 kB / 0.602 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3772, allocations: 384 / 0.602 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3773, allocations: 4.375 kB / 0.602 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3774, allocations: 67.97 kB / 0.6021 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3774, allocations: 4.125 kB / 0.6021 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3774, allocations: 3.938 kB / 0.6021 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3775, allocations: 3.938 kB / 0.6021 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.3775, allocations: 27.97 kB / 0.6022 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.3779, allocations: 284.9 kB / 0.6024 GB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3781, allocations: 54.44 kB / 0.6025 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.3782, allocations: 20.94 kB / 0.6025 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3782, allocations: 0 / 0.6025 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3782, allocations: 34.56 kB / 0.6025 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3782, allocations: 0 / 0.6025 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005328/0.3788, allocations: 165.4 kB / 0.6027 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3788, allocations: 77.11 kB / 0.6028 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.379, allocations: 136.5 kB / 0.6029 GB, free: 0.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.379, allocations: 29.7 kB / 0.6029 GB, free: 476 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.379, allocations: 88.14 kB / 0.603 GB, free: 384 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3791, allocations: 27.64 kB / 0.603 GB, free: 356 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.3791, allocations: 0 / 0.603 GB, free: 356 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.3792, allocations: 318.8 kB / 0.6033 GB, free: 28 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.3792, allocations: 23.98 kB / 0.6034 GB, free: 4 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.3793, allocations: 41.75 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3795, allocations: 68.98 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3795, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001656/0.3797, allocations: 85.61 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3797, allocations: 4 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3797, allocations: 3.984 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3797, allocations: 11.94 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.3798, allocations: 12 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3798, allocations: 4 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3798, allocations: 7.984 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3798, allocations: 0 / 0.6036 GB, free: 15.75 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 (5): * Single equations (assignments): 5 * 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.738e-05/0.3799, allocations: 118.3 kB / 0.6037 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.38, allocations: 7.906 kB / 0.6037 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3802, allocations: 109.5 kB / 0.6038 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3802, allocations: 4.281 kB / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3802, allocations: 0 / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3802, allocations: 0 / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.3806, allocations: 362.5 kB / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3806, allocations: 7.938 kB / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3807, allocations: 15.92 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3807, allocations: 4 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.3807, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3807, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3807, allocations: 0 / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3809, allocations: 199.5 kB / 0.6044 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.381, allocations: 85.02 kB / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.381, allocations: 0 / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.3811, allocations: 15.98 kB / 0.6045 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.3811, allocations: 7.938 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3811, allocations: 4 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.598e-05/0.3812, allocations: 103.2 kB / 0.6046 GB, free: 14.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3812, allocations: 0 / 0.6046 GB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.3814, allocations: 28 kB / 0.6046 GB, free: 14.6 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 (5): * Single equations (assignments): 5 * 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.0008079/0.3822, allocations: 450.8 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.3824, allocations: 55.95 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3824, allocations: 0 / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.3825, allocations: 39.98 kB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3828, allocations: 15.86 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.3831, allocations: 172.7 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.3833, allocations: 0.6926 MB / 0.606 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.3834, allocations: 15.97 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.3834, allocations: 11.44 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3834, allocations: 0 / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of Templates: time 0.003028/0.3864, allocations: 1.295 MB / 0.6073 GB, free: 11.99 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches