Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002319/0.002324, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001078/0.001077, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2762/0.2762, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.855e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.5835, allocations: 89.03 MB / 0.5597 GB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5838, allocations: 76.98 kB / 0.5598 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03822/0.6221, allocations: 9.11 MB / 0.5687 GB, free: 6.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6221, allocations: 0 / 0.5687 GB, free: 6.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.536e-05/0.6222, allocations: 12 kB / 0.5687 GB, free: 6.777 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007811/0.623, allocations: 0.5525 MB / 0.5693 GB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.6231, allocations: 8.031 kB / 0.5693 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.6232, allocations: 55.33 kB / 0.5693 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.624, allocations: 349.7 kB / 0.5696 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.624, allocations: 7.125 kB / 0.5697 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.6241, allocations: 14.44 kB / 0.5697 GB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.6244, allocations: 112.4 kB / 0.5698 GB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6244, allocations: 3.938 kB / 0.5698 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.6244, allocations: 3.312 kB / 0.5698 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.6245, allocations: 4 kB / 0.5698 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.6247, allocations: 76.11 kB / 0.5699 GB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6258, allocations: 0.5269 MB / 0.5704 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.626, allocations: 108.7 kB / 0.5705 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.6261, allocations: 35.84 kB / 0.5705 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.6262, allocations: 11.98 kB / 0.5705 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.6262, allocations: 34.25 kB / 0.5706 GB, free: 4.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/0.6262, allocations: 0 / 0.5706 GB, free: 4.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001214/0.6275, allocations: 372.6 kB / 0.5709 GB, free: 4.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.6275, allocations: 55.41 kB / 0.571 GB, free: 4.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/0.6285, allocations: 0.4906 MB / 0.5714 GB, free: 4.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.6286, allocations: 25.7 kB / 0.5715 GB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.6287, allocations: 240.8 kB / 0.5717 GB, free: 3.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.6288, allocations: 62.17 kB / 0.5718 GB, free: 3.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.6288, allocations: 7.25 kB / 0.5718 GB, free: 3.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.629, allocations: 310.8 kB / 0.5721 GB, free: 3.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.6291, allocations: 57.8 kB / 0.5721 GB, free: 3.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.6293, allocations: 58.08 kB / 0.5722 GB, free: 3.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.6294, allocations: 62.02 kB / 0.5722 GB, free: 3.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6295, allocations: 0 / 0.5722 GB, free: 3.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004437/0.6299, allocations: 177.7 kB / 0.5724 GB, free: 3.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.63, allocations: 14.81 kB / 0.5724 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.63, allocations: 0 / 0.5724 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.63, allocations: 3.984 kB / 0.5724 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.6303, allocations: 31.98 kB / 0.5724 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6303, allocations: 0 / 0.5724 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.6305, allocations: 15.17 kB / 0.5725 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.6306, allocations: 11.94 kB / 0.5725 GB, free: 3.277 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.999e-05/0.6307, allocations: 116 kB / 0.5726 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6308, allocations: 43.44 kB / 0.5726 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.632, allocations: 254.1 kB / 0.5729 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.632, allocations: 3.938 kB / 0.5729 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6321, allocations: 0 / 0.5729 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.6321, allocations: 3.984 kB / 0.5729 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.6341, allocations: 0.7102 MB / 0.5736 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6341, allocations: 0 / 0.5736 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.6344, allocations: 43.72 kB / 0.5736 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.6344, allocations: 0 / 0.5736 GB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.6345, allocations: 8 kB / 0.5736 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.6345, allocations: 7.938 kB / 0.5736 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6345, allocations: 0 / 0.5736 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.6351, allocations: 316.8 kB / 0.5739 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.6353, allocations: 142.7 kB / 0.5741 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.6354, allocations: 4 kB / 0.5741 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.6356, allocations: 11.55 kB / 0.5741 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.6357, allocations: 19.88 kB / 0.5741 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6357, allocations: 7.438 kB / 0.5741 GB, free: 1.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007825/0.6365, allocations: 399.3 kB / 0.5745 GB, free: 1.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6365, allocations: 4 kB / 0.5745 GB, free: 1.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004922/0.637, allocations: 66.88 kB / 0.5746 GB, free: 1.395 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001966/0.639, allocations: 0.6251 MB / 0.5752 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/0.6395, allocations: 139.6 kB / 0.5753 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6396, allocations: 3.938 kB / 0.5753 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.6398, allocations: 84.34 kB / 0.5754 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.6405, allocations: 72.75 kB / 0.5754 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.642, allocations: 0.588 MB / 0.576 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.6426, allocations: 0.829 MB / 0.5768 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6428, allocations: 42.22 kB / 0.5769 GB, free: 15.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6428, allocations: 3.938 kB / 0.5769 GB, free: 15.19 MB / 394.7 MB Notification: Performance of Templates: time 0.01261/0.6554, allocations: 4.935 MB / 0.5817 GB, free: 10.28 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches