Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002188/0.002188, allocations: 180 kB / 8.363 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.074/2.074, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001121/0.001121, allocations: 91.47 kB / 262.1 MB, free: 13.88 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.308/0.308, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.831e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3987, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5624, allocations: 86.54 MB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.5628, allocations: 71.97 kB / 0.5505 GB, free: 12.7 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.594, allocations: 8.025 MB / 0.5583 GB, free: 4.656 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.594, allocations: 0 / 0.5583 GB, free: 4.656 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.5941, allocations: 4 kB / 0.5583 GB, free: 4.652 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.0007747/0.5949, allocations: 0.5524 MB / 0.5589 GB, free: 4.055 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5949, allocations: 8.031 kB / 0.5589 GB, free: 4.047 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5951, allocations: 47.39 kB / 0.5589 GB, free: 4 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.5958, allocations: 335.3 kB / 0.5592 GB, free: 3.633 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5959, allocations: 0.5469 kB / 0.5592 GB, free: 3.633 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.5959, allocations: 0 / 0.5592 GB, free: 3.633 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001115/0.596, allocations: 19.98 kB / 0.5593 GB, free: 3.613 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5962, allocations: 49.62 kB / 0.5593 GB, free: 3.559 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5962, allocations: 4 kB / 0.5593 GB, free: 3.555 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5962, allocations: 3.938 kB / 0.5593 GB, free: 3.551 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5962, allocations: 3.953 kB / 0.5593 GB, free: 3.547 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009308/0.5972, allocations: 417.3 kB / 0.5597 GB, free: 3.102 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.5974, allocations: 38.56 kB / 0.5598 GB, free: 3.055 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.5975, allocations: 16.8 kB / 0.5598 GB, free: 3.035 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.5975, allocations: 80 / 0.5598 GB, free: 3.035 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5975, allocations: 34.56 kB / 0.5598 GB, free: 2.992 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 4.268e-06/0.5976, allocations: 3.984 kB / 0.5598 GB, free: 2.988 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000663/0.5982, allocations: 204 kB / 0.56 GB, free: 2.781 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5983, allocations: 59.34 kB / 0.5601 GB, free: 2.711 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.6002, allocations: 0.7512 MB / 0.5608 GB, free: 1.953 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6003, allocations: 25.7 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6005, allocations: 234.5 kB / 0.561 GB, free: 1.691 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.6006, allocations: 11.81 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.6006, allocations: 4 kB / 0.5611 GB, free: 1.676 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6007, allocations: 314.8 kB / 0.5614 GB, free: 1.359 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.6008, allocations: 11.98 kB / 0.5614 GB, free: 1.348 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.6009, allocations: 12 kB / 0.5614 GB, free: 1.336 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.601e-05/0.6009, allocations: 12 kB / 0.5614 GB, free: 1.324 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6009, allocations: 3.938 kB / 0.5614 GB, free: 1.32 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.6011, allocations: 65.59 kB / 0.5615 GB, free: 1.25 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6012, allocations: 4 kB / 0.5615 GB, free: 1.246 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6012, allocations: 3.984 kB / 0.5615 GB, free: 1.242 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6012, allocations: 7.953 kB / 0.5615 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.6014, allocations: 12 kB / 0.5615 GB, free: 1.223 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6014, allocations: 0 / 0.5615 GB, free: 1.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.6016, allocations: 15.92 kB / 0.5615 GB, free: 1.207 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.6016, allocations: 0 / 0.5615 GB, free: 1.207 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 8.824e-05/0.6017, allocations: 101 kB / 0.5616 GB, free: 1.102 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6018, allocations: 39.53 kB / 0.5616 GB, free: 1.062 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.6021, allocations: 121.4 kB / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6022, allocations: 3.953 kB / 0.5617 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6022, allocations: 0 / 0.5617 GB, free: 0.9258 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6022, allocations: 3.984 kB / 0.5618 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.6034, allocations: 0.5421 MB / 0.5623 GB, free: 344 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6034, allocations: 0 / 0.5623 GB, free: 344 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6035, allocations: 27.92 kB / 0.5623 GB, free: 316 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.6036, allocations: 4 kB / 0.5623 GB, free: 312 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.6036, allocations: 7.953 kB / 0.5623 GB, free: 304 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6036, allocations: 0 / 0.5623 GB, free: 304 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6036, allocations: 0 / 0.5623 GB, free: 304 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.6039, allocations: 195.1 kB / 0.5625 GB, free: 92 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.6043, allocations: 160.5 kB / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.6043, allocations: 0 / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6045, allocations: 7.953 kB / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.6046, allocations: 15.92 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.6046, allocations: 0 / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.6057, allocations: 0.6082 MB / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6057, allocations: 0 / 0.5633 GB, free: 15.29 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.6062, allocations: 59.94 kB / 0.5633 GB, free: 15.23 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.001037/0.6072, allocations: 338.6 kB / 0.5637 GB, free: 14.93 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.6074, allocations: 32 kB / 0.5637 GB, free: 14.9 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6075, allocations: 0 / 0.5637 GB, free: 14.9 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.6075, allocations: 19.94 kB / 0.5637 GB, free: 14.88 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.608, allocations: 37.36 kB / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.6098, allocations: 0.7551 MB / 0.5645 GB, free: 14.06 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.6105, allocations: 0.8341 MB / 0.5653 GB, free: 13.2 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6106, allocations: 23.44 kB / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6106, allocations: 0 / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of Templates: time 0.0132/0.6238, allocations: 4.264 MB / 0.5695 GB, free: 8.906 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches