Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.284/1.284, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.000741/0.000741, allocations: 87.86 kB / 271.9 MB, free: 8.254 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.3145/0.3145, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 16 kB / 432.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 58.85 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/0.4074, allocations: 86.71 MB / 0.5646 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4076, allocations: 79.89 kB / 0.5647 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.4247, allocations: 7.823 MB / 0.5723 GB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4247, allocations: 0 / 0.5723 GB, free: 7.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4247, allocations: 4 kB / 0.5723 GB, free: 7.867 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.0006109/0.4254, allocations: 0.6343 MB / 0.5729 GB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4254, allocations: 8.031 kB / 0.5729 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.4255, allocations: 44.38 kB / 0.573 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.4259, allocations: 344.2 kB / 0.5733 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4259, allocations: 8.312 kB / 0.5733 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.426, allocations: 4.375 kB / 0.5733 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4261, allocations: 58.23 kB / 0.5734 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.4261, allocations: 192 / 0.5734 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4261, allocations: 3.938 kB / 0.5734 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4261, allocations: 0 / 0.5734 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4263, allocations: 43.95 kB / 0.5734 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.4268, allocations: 424.8 kB / 0.5738 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4269, allocations: 50.44 kB / 0.5739 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.427, allocations: 24.94 kB / 0.5739 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.427, allocations: 0 / 0.5739 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.427, allocations: 42.56 kB / 0.5739 GB, free: 6.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.427, allocations: 0 / 0.5739 GB, free: 6.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002963/0.4273, allocations: 125.1 kB / 0.5741 GB, free: 5.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4274, allocations: 63.39 kB / 0.5741 GB, free: 5.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4286, allocations: 0.8456 MB / 0.575 GB, free: 4.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4286, allocations: 25.7 kB / 0.575 GB, free: 4.949 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4288, allocations: 212.1 kB / 0.5752 GB, free: 4.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.4288, allocations: 3.906 kB / 0.5752 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4288, allocations: 0 / 0.5752 GB, free: 4.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4289, allocations: 358.8 kB / 0.5755 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.429, allocations: 19.98 kB / 0.5755 GB, free: 4.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.4291, allocations: 23.98 kB / 0.5756 GB, free: 4.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4292, allocations: 40.83 kB / 0.5756 GB, free: 4.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.4292, allocations: 3.938 kB / 0.5756 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002012/0.4294, allocations: 117 kB / 0.5757 GB, free: 4.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4294, allocations: 4 kB / 0.5757 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4294, allocations: 0 / 0.5757 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4295, allocations: 3.984 kB / 0.5757 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.4295, allocations: 16 kB / 0.5757 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4296, allocations: 7.938 kB / 0.5758 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.4296, allocations: 7.984 kB / 0.5758 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4296, allocations: 0 / 0.5758 GB, free: 4.125 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 (3): * Single equations (assignments): 3 * 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.0002018/0.4299, allocations: 210.5 kB / 0.576 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.4299, allocations: 39.53 kB / 0.576 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.4302, allocations: 129 kB / 0.5761 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4302, allocations: 0 / 0.5761 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4302, allocations: 7.938 kB / 0.5761 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4302, allocations: 0 / 0.5761 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4305, allocations: 333.3 kB / 0.5764 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4306, allocations: 0 / 0.5764 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.4306, allocations: 19.92 kB / 0.5765 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4306, allocations: 0 / 0.5765 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4306, allocations: 0 / 0.5765 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4306, allocations: 4 kB / 0.5765 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4306, allocations: 4 kB / 0.5765 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4309, allocations: 207.4 kB / 0.5767 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.4311, allocations: 164.5 kB / 0.5768 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.4311, allocations: 12 kB / 0.5768 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.4312, allocations: 7.984 kB / 0.5768 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.4313, allocations: 0 / 0.5768 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4313, allocations: 4 kB / 0.5769 GB, free: 2.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006874/0.432, allocations: 0.6355 MB / 0.5775 GB, free: 2.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.432, allocations: 3.938 kB / 0.5775 GB, free: 2.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.4323, allocations: 51.98 kB / 0.5775 GB, free: 2.215 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 (3): * Single equations (assignments): 3 * 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.0007422/0.433, allocations: 352.3 kB / 0.5779 GB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.4332, allocations: 47.97 kB / 0.5779 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4332, allocations: 0 / 0.5779 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.4333, allocations: 19.98 kB / 0.5779 GB, free: 1.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.4336, allocations: 29.89 kB / 0.578 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4348, allocations: 0.9287 MB / 0.5789 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4352, allocations: 0.8224 MB / 0.5797 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.4353, allocations: 19.42 kB / 0.5797 GB, free: 32 kB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4353, allocations: 0 / 0.5797 GB, free: 32 kB / 394.7 MB Notification: Performance of Templates: time 0.006771/0.4421, allocations: 4.049 MB / 0.5836 GB, free: 11.97 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches