Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002175/0.002179, allocations: 185.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 100.3 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5748, allocations: 87.22 MB / 0.5639 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5751, allocations: 71.97 kB / 0.564 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01826/0.5934, allocations: 4.42 MB / 0.5683 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5934, allocations: 0 / 0.5683 GB, free: 10.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.5935, allocations: 3.938 kB / 0.5683 GB, free: 10.88 MB / 394.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.0006145/0.5941, allocations: 431.5 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5941, allocations: 8.562 kB / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.5942, allocations: 19.25 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.5945, allocations: 203.6 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5945, allocations: 4 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.5946, allocations: 5.219 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.5948, allocations: 69.66 kB / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5949, allocations: 3.938 kB / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5949, allocations: 1.031 kB / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5949, allocations: 0 / 0.569 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.5952, allocations: 47.97 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.5958, allocations: 325.8 kB / 0.5694 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.596, allocations: 50.66 kB / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.596, allocations: 11.92 kB / 0.5694 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5961, allocations: 30.56 kB / 0.5695 GB, free: 9.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.5961, allocations: 0 / 0.5695 GB, free: 9.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001318/0.5974, allocations: 273.1 kB / 0.5697 GB, free: 9.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.5975, allocations: 51.41 kB / 0.5698 GB, free: 9.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.5978, allocations: 192.8 kB / 0.5699 GB, free: 9.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.5978, allocations: 25.7 kB / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.5979, allocations: 170.6 kB / 0.5701 GB, free: 8.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.598, allocations: 35.61 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.598, allocations: 0 / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5981, allocations: 310.8 kB / 0.5705 GB, free: 8.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.5983, allocations: 47.97 kB / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.5986, allocations: 48.03 kB / 0.5706 GB, free: 8.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.5988, allocations: 51.97 kB / 0.5706 GB, free: 8.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5989, allocations: 0 / 0.5706 GB, free: 8.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005336/0.5994, allocations: 133.6 kB / 0.5707 GB, free: 8.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5994, allocations: 8 kB / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.5995, allocations: 0 / 0.5707 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5995, allocations: 7.891 kB / 0.5707 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5997, allocations: 27.98 kB / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5997, allocations: 0 / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5998, allocations: 15.98 kB / 0.5708 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.5999, allocations: 4 kB / 0.5708 GB, free: 8.117 MB / 394.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.0001424/0.6, allocations: 129.8 kB / 0.5709 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.6001, allocations: 8.469 kB / 0.5709 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.6007, allocations: 166.8 kB / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6008, allocations: 0 / 0.5711 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.6008, allocations: 7.953 kB / 0.5711 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6008, allocations: 0 / 0.5711 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.6018, allocations: 439.8 kB / 0.5715 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6018, allocations: 0 / 0.5715 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.602, allocations: 31.92 kB / 0.5715 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.602, allocations: 0 / 0.5715 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.602, allocations: 3.953 kB / 0.5715 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6021, allocations: 0 / 0.5715 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6021, allocations: 4.938 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.6027, allocations: 239.4 kB / 0.5718 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.6028, allocations: 96.91 kB / 0.5719 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.6028, allocations: 4 kB / 0.5719 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.603, allocations: 20.81 kB / 0.5719 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.603, allocations: 12.27 kB / 0.5719 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.6031, allocations: 0 / 0.5719 GB, free: 6.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6033, allocations: 151.7 kB / 0.5721 GB, free: 6.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6033, allocations: 0 / 0.5721 GB, free: 6.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.6037, allocations: 27.94 kB / 0.5721 GB, free: 6.699 MB / 394.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.001168/0.6048, allocations: 430.5 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.6054, allocations: 107.9 kB / 0.5726 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.6054, allocations: 4 kB / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.6057, allocations: 63.89 kB / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.606, allocations: 14.23 kB / 0.5727 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.6067, allocations: 314.7 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.607, allocations: 0.7121 MB / 0.5737 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.6071, allocations: 15.44 kB / 0.5737 GB, free: 5.094 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6071, allocations: 3.938 kB / 0.5737 GB, free: 5.09 MB / 394.7 MB Notification: Performance of Templates: time 0.005/0.6121, allocations: 1.832 MB / 0.5755 GB, free: 3.258 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches