Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001491, allocations: 184.8 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.972/1.972, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001112/0.001112, allocations: 92.42 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.4993/0.4993, allocations: 43.56 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004536, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6152, allocations: 86.75 MB / 0.5634 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.6156, allocations: 71.97 kB / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.6334, allocations: 4.319 MB / 0.5677 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6335, allocations: 0 / 0.5677 GB, free: 11.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.6335, allocations: 0 / 0.5677 GB, free: 11.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000537/0.634, allocations: 387.8 kB / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6341, allocations: 12.02 kB / 0.5681 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.6342, allocations: 7.906 kB / 0.5681 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.6344, allocations: 191.8 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.6345, allocations: 4 kB / 0.5683 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.6345, allocations: 8 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6347, allocations: 64.45 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.6347, allocations: 0 / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6348, allocations: 4 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6348, allocations: 0 / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.6349, allocations: 29.02 kB / 0.5684 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.6354, allocations: 276.9 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.6357, allocations: 54.48 kB / 0.5687 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.6358, allocations: 4 kB / 0.5687 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.6358, allocations: 34.56 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.6358, allocations: 0 / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008547/0.6367, allocations: 166.2 kB / 0.5689 GB, free: 10.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.6368, allocations: 81.09 kB / 0.569 GB, free: 9.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.6369, allocations: 124.9 kB / 0.5691 GB, free: 9.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.637, allocations: 29.64 kB / 0.5691 GB, free: 9.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.6371, allocations: 158.6 kB / 0.5693 GB, free: 9.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6371, allocations: 15.73 kB / 0.5693 GB, free: 9.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.6371, allocations: 4 kB / 0.5693 GB, free: 9.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6372, allocations: 318.8 kB / 0.5696 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.6374, allocations: 19.98 kB / 0.5696 GB, free: 9.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.6375, allocations: 39.77 kB / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6377, allocations: 36 kB / 0.5697 GB, free: 9.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6377, allocations: 0 / 0.5697 GB, free: 9.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003593/0.6381, allocations: 85.61 kB / 0.5698 GB, free: 9.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6381, allocations: 4 kB / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6381, allocations: 0 / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6382, allocations: 0 / 0.5698 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.6383, allocations: 19.98 kB / 0.5698 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6383, allocations: 0 / 0.5698 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.6384, allocations: 12 kB / 0.5698 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.6384, allocations: 4.969 kB / 0.5698 GB, free: 9.086 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 (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 0.0001163/0.6386, allocations: 117.8 kB / 0.5699 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.6386, allocations: 7.906 kB / 0.5699 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.639, allocations: 109.5 kB / 0.57 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.639, allocations: 0 / 0.57 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.639, allocations: 0 / 0.57 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.6391, allocations: 7.984 kB / 0.5701 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.6397, allocations: 362.5 kB / 0.5704 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6398, allocations: 3.938 kB / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.6399, allocations: 12 kB / 0.5704 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6399, allocations: 0 / 0.5704 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.6399, allocations: 4 kB / 0.5704 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6399, allocations: 0 / 0.5704 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6399, allocations: 3.984 kB / 0.5704 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.6403, allocations: 195.4 kB / 0.5706 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.6404, allocations: 89 kB / 0.5707 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.6404, allocations: 288 / 0.5707 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6406, allocations: 8 kB / 0.5707 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.6406, allocations: 7.984 kB / 0.5707 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6406, allocations: 7.938 kB / 0.5707 GB, free: 8.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.6408, allocations: 114.5 kB / 0.5708 GB, free: 7.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.254e-06/0.6408, allocations: 0 / 0.5708 GB, free: 7.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.6411, allocations: 31.92 kB / 0.5709 GB, free: 7.926 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 (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.001279/0.6424, allocations: 455.3 kB / 0.5713 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.6428, allocations: 55.97 kB / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6428, allocations: 0 / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.643, allocations: 39.92 kB / 0.5714 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.6433, allocations: 15.92 kB / 0.5714 GB, free: 7.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.6438, allocations: 208.8 kB / 0.5716 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6441, allocations: 0.6926 MB / 0.5723 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.6442, allocations: 11.44 kB / 0.5723 GB, free: 6.508 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6442, allocations: 0 / 0.5723 GB, free: 6.508 MB / 394.7 MB Notification: Performance of Templates: time 0.004751/0.649, allocations: 1.6 MB / 0.5738 GB, free: 4.906 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches