Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001061, allocations: 93.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3801/0.3801, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.605e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4103, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.5764, allocations: 86.51 MB / 0.5504 GB, free: 12.8 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5767, allocations: 71.47 kB / 0.5504 GB, free: 12.73 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03012/0.6069, allocations: 7.749 MB / 0.558 GB, free: 4.969 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.6069, allocations: 0 / 0.558 GB, free: 4.969 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.707e-05/0.607, allocations: 4 kB / 0.558 GB, free: 4.965 MB / 395.1 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.0007657/0.6077, allocations: 0.5559 MB / 0.5586 GB, free: 4.363 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6078, allocations: 8.031 kB / 0.5586 GB, free: 4.355 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.6079, allocations: 51.39 kB / 0.5586 GB, free: 4.305 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.6086, allocations: 331.3 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6087, allocations: 0 / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.6087, allocations: 4 kB / 0.5589 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.6088, allocations: 15.98 kB / 0.559 GB, free: 3.922 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.6089, allocations: 49.62 kB / 0.559 GB, free: 3.867 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.609, allocations: 0 / 0.559 GB, free: 3.867 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.609, allocations: 3.938 kB / 0.559 GB, free: 3.863 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.609, allocations: 3.953 kB / 0.559 GB, free: 3.859 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.6099, allocations: 417.3 kB / 0.5594 GB, free: 3.414 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.6102, allocations: 42.5 kB / 0.5594 GB, free: 3.363 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.6102, allocations: 16.8 kB / 0.5595 GB, free: 3.344 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.6103, allocations: 0 / 0.5595 GB, free: 3.344 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6103, allocations: 34.56 kB / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.6103, allocations: 0 / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006458/0.611, allocations: 196.1 kB / 0.5597 GB, free: 3.102 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6111, allocations: 55.41 kB / 0.5597 GB, free: 3.035 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.6129, allocations: 0.7551 MB / 0.5605 GB, free: 2.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.613, allocations: 25.7 kB / 0.5605 GB, free: 2.238 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.6132, allocations: 238.5 kB / 0.5607 GB, free: 2.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.6133, allocations: 11.81 kB / 0.5607 GB, free: 1.992 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.6133, allocations: 4 kB / 0.5607 GB, free: 1.988 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6135, allocations: 314.8 kB / 0.561 GB, free: 1.672 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.6135, allocations: 8 kB / 0.561 GB, free: 1.664 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.6136, allocations: 15.98 kB / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.6137, allocations: 12 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6137, allocations: 0 / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.6139, allocations: 61.73 kB / 0.5611 GB, free: 1.57 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6139, allocations: 4 kB / 0.5611 GB, free: 1.566 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6139, allocations: 0 / 0.5611 GB, free: 1.566 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.614, allocations: 15.94 kB / 0.5612 GB, free: 1.551 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.6141, allocations: 11.98 kB / 0.5612 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6142, allocations: 4 kB / 0.5612 GB, free: 1.535 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.6144, allocations: 4.156 kB / 0.5612 GB, free: 1.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6144, allocations: 7.922 kB / 0.5612 GB, free: 1.523 MB / 395.1 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 (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.0001074/0.6145, allocations: 109 kB / 0.5613 GB, free: 1.41 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.6147, allocations: 35.53 kB / 0.5613 GB, free: 1.375 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.6151, allocations: 125.6 kB / 0.5614 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6151, allocations: 3.953 kB / 0.5614 GB, free: 1.238 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6151, allocations: 4.062 kB / 0.5614 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6152, allocations: 0 / 0.5614 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.6165, allocations: 0.5457 MB / 0.562 GB, free: 0.6445 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6165, allocations: 4 kB / 0.562 GB, free: 0.6406 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.6167, allocations: 15.92 kB / 0.562 GB, free: 0.625 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.6167, allocations: 8 kB / 0.562 GB, free: 0.6172 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6167, allocations: 3.953 kB / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6167, allocations: 0 / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6167, allocations: 0 / 0.562 GB, free: 0.6133 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.6171, allocations: 195.1 kB / 0.5622 GB, free: 416 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.6174, allocations: 164.5 kB / 0.5624 GB, free: 232 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.6175, allocations: 0 / 0.5624 GB, free: 232 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.6177, allocations: 19.94 kB / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.6177, allocations: 7.875 kB / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.6178, allocations: 0 / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.6189, allocations: 0.6082 MB / 0.563 GB, free: 15.59 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.619, allocations: 4 kB / 0.563 GB, free: 15.59 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.6195, allocations: 59.92 kB / 0.563 GB, free: 15.53 MB / 411.1 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 (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.0009934/0.6205, allocations: 322 kB / 0.5633 GB, free: 15.25 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.6206, allocations: 35.98 kB / 0.5634 GB, free: 15.22 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6207, allocations: 0 / 0.5634 GB, free: 15.22 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.6207, allocations: 19.94 kB / 0.5634 GB, free: 15.2 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.6211, allocations: 25.94 kB / 0.5634 GB, free: 15.17 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.6229, allocations: 0.7589 MB / 0.5642 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.6235, allocations: 0.838 MB / 0.565 GB, free: 13.52 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.6236, allocations: 23.44 kB / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of SimCode: time 1.362e-06/0.6236, allocations: 0 / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of Templates: time 0.01234/0.636, allocations: 4.268 MB / 0.5692 GB, free: 9.219 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches