Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.955/1.955, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001126/0.001126, allocations: 102 kB / 270.9 MB, free: 8.387 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.5128/0.5128, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 16 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5901, allocations: 87.47 MB / 0.5641 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5904, allocations: 75.95 kB / 0.5642 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.6093, allocations: 4.6 MB / 0.5687 GB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6093, allocations: 0 / 0.5687 GB, free: 10.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.6093, allocations: 0 / 0.5687 GB, free: 10.63 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.0006074/0.61, allocations: 399.1 kB / 0.5691 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.61, allocations: 8.562 kB / 0.5691 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.6101, allocations: 11.34 kB / 0.5691 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.6104, allocations: 195.4 kB / 0.5693 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.6104, allocations: 3.984 kB / 0.5693 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.6104, allocations: 8 kB / 0.5693 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.6107, allocations: 75.39 kB / 0.5694 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6107, allocations: 7.938 kB / 0.5694 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.6108, allocations: 1.031 kB / 0.5694 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.6108, allocations: 4.547 kB / 0.5694 GB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.611, allocations: 48.78 kB / 0.5694 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.6116, allocations: 308.8 kB / 0.5697 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.6119, allocations: 54.55 kB / 0.5698 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.6119, allocations: 0 / 0.5698 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.6119, allocations: 38.5 kB / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.6119, allocations: 3.469 kB / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001316/0.6133, allocations: 269.5 kB / 0.5701 GB, free: 9.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.6133, allocations: 77.11 kB / 0.5702 GB, free: 8.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6135, allocations: 132.1 kB / 0.5703 GB, free: 8.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6136, allocations: 25.7 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.6137, allocations: 162.5 kB / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6137, allocations: 23.66 kB / 0.5705 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.6137, allocations: 0 / 0.5705 GB, free: 8.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6139, allocations: 323.1 kB / 0.5708 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.6141, allocations: 39.97 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.6144, allocations: 65.69 kB / 0.5709 GB, free: 8.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.6146, allocations: 47.95 kB / 0.5709 GB, free: 8.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6146, allocations: 0 / 0.5709 GB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000529/0.6152, allocations: 133.6 kB / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6152, allocations: 4 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6152, allocations: 4 kB / 0.5711 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6153, allocations: 7.984 kB / 0.5711 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.6155, allocations: 23.98 kB / 0.5711 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.6155, allocations: 4 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.6157, allocations: 19.98 kB / 0.5711 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.6157, allocations: 0 / 0.5711 GB, free: 7.938 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.0001251/0.6158, allocations: 125.8 kB / 0.5712 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.6159, allocations: 7.906 kB / 0.5713 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.6165, allocations: 158.6 kB / 0.5714 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6165, allocations: 0 / 0.5714 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6165, allocations: 7.953 kB / 0.5714 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6165, allocations: 0 / 0.5714 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.6174, allocations: 430.5 kB / 0.5718 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6175, allocations: 0 / 0.5718 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.6176, allocations: 27.92 kB / 0.5719 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.235e-05/0.6177, allocations: 0 / 0.5719 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.6177, allocations: 7.953 kB / 0.5719 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6177, allocations: 4 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6177, allocations: 0 / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.6183, allocations: 235.4 kB / 0.5721 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.6184, allocations: 85.02 kB / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.6184, allocations: 3.984 kB / 0.5722 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.6186, allocations: 20.7 kB / 0.5722 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.6187, allocations: 3.984 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.6187, allocations: 4 kB / 0.5722 GB, free: 6.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.6188, allocations: 119.2 kB / 0.5723 GB, free: 6.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6189, allocations: 0 / 0.5723 GB, free: 6.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.6193, allocations: 35.94 kB / 0.5723 GB, free: 6.582 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.001261/0.6205, allocations: 464.9 kB / 0.5728 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.6211, allocations: 103.9 kB / 0.5729 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6211, allocations: 0 / 0.5729 GB, free: 6.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.6214, allocations: 59.91 kB / 0.5729 GB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6217, allocations: 15.98 kB / 0.573 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.6223, allocations: 249 kB / 0.5732 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6226, allocations: 0.6965 MB / 0.5739 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.6227, allocations: 15.44 kB / 0.5739 GB, free: 5.039 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6227, allocations: 0 / 0.5739 GB, free: 5.039 MB / 394.7 MB Notification: Performance of Templates: time 0.005326/0.6281, allocations: 1.859 MB / 0.5757 GB, free: 3.18 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches