Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001533, 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.932/1.932, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001141/0.001141, allocations: 104.3 kB / 270.9 MB, free: 8.383 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.5215/0.5215, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007183/0.0007183, allocations: 19.98 kB / 431.4 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1424, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4596/0.6021, allocations: 86.91 MB / 0.5636 GB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.6025, allocations: 75.95 kB / 0.5637 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03083/0.6333, allocations: 7.988 MB / 0.5715 GB, free: 7.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6334, allocations: 0 / 0.5715 GB, free: 7.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.6334, allocations: 8 kB / 0.5715 GB, free: 7.793 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.000936/0.6344, allocations: 0.6356 MB / 0.5721 GB, free: 7.113 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6344, allocations: 16.02 kB / 0.5721 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.6345, allocations: 39.44 kB / 0.5721 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.6352, allocations: 323.4 kB / 0.5725 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6352, allocations: 0.9375 kB / 0.5725 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.6352, allocations: 8 kB / 0.5725 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.6354, allocations: 50.72 kB / 0.5725 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6355, allocations: 0 / 0.5725 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6355, allocations: 0 / 0.5725 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6355, allocations: 4 kB / 0.5725 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.6357, allocations: 35.86 kB / 0.5726 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.6365, allocations: 436.7 kB / 0.573 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.6368, allocations: 46.55 kB / 0.573 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.6368, allocations: 0 / 0.573 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6369, allocations: 41.61 kB / 0.5731 GB, free: 6.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.6369, allocations: 4 kB / 0.5731 GB, free: 6.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009864/0.6379, allocations: 248 kB / 0.5733 GB, free: 5.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.638, allocations: 55.41 kB / 0.5733 GB, free: 5.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.6399, allocations: 0.7824 MB / 0.5741 GB, free: 4.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.64, allocations: 25.7 kB / 0.5741 GB, free: 4.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.6402, allocations: 238.6 kB / 0.5744 GB, free: 4.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.6402, allocations: 20.27 kB / 0.5744 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.6402, allocations: 0 / 0.5744 GB, free: 4.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6404, allocations: 314.8 kB / 0.5747 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.6405, allocations: 27.98 kB / 0.5747 GB, free: 4.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.6407, allocations: 19.98 kB / 0.5747 GB, free: 4.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.6408, allocations: 21.42 kB / 0.5747 GB, free: 4.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6408, allocations: 0 / 0.5747 GB, free: 4.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003631/0.6412, allocations: 89.66 kB / 0.5748 GB, free: 4.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.6412, allocations: 11.95 kB / 0.5748 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6412, allocations: 0 / 0.5748 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.6413, allocations: 3.938 kB / 0.5748 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.6414, allocations: 15.94 kB / 0.5749 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6414, allocations: 256 / 0.5749 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6416, allocations: 15.92 kB / 0.5749 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6416, allocations: 8 kB / 0.5749 GB, free: 4.098 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.0003106/0.6419, allocations: 213.8 kB / 0.5751 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6421, allocations: 39.44 kB / 0.5751 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.6425, allocations: 145 kB / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6426, allocations: 0 / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6426, allocations: 0 / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6426, allocations: 0 / 0.5753 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.6439, allocations: 0.5842 MB / 0.5758 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6439, allocations: 0 / 0.5758 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6441, allocations: 23.94 kB / 0.5759 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6441, allocations: 0 / 0.5759 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6441, allocations: 4 kB / 0.5759 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6441, allocations: 1.219 kB / 0.5759 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6441, allocations: 4 kB / 0.5759 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.6446, allocations: 222.9 kB / 0.5761 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.6449, allocations: 156.9 kB / 0.5762 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.6449, allocations: 7.953 kB / 0.5762 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.6451, allocations: 4 kB / 0.5762 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.6452, allocations: 15.97 kB / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.6452, allocations: 0 / 0.5763 GB, free: 2.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.6464, allocations: 0.6394 MB / 0.5769 GB, free: 1.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.6465, allocations: 4 kB / 0.5769 GB, free: 1.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004404/0.6469, allocations: 55.98 kB / 0.5769 GB, free: 1.891 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.001165/0.6481, allocations: 411.4 kB / 0.5773 GB, free: 1.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.6485, allocations: 55.91 kB / 0.5774 GB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6485, allocations: 4 kB / 0.5774 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6487, allocations: 31.97 kB / 0.5774 GB, free: 1.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.6491, allocations: 21.97 kB / 0.5774 GB, free: 1.469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.6512, allocations: 0.9405 MB / 0.5784 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.6518, allocations: 0.8301 MB / 0.5792 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.6519, allocations: 23.69 kB / 0.5792 GB, free: 15.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6519, allocations: 0 / 0.5792 GB, free: 15.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01261/0.6645, allocations: 4.236 MB / 0.5833 GB, free: 11.37 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches