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.001488/0.001488, 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.088/2.088, 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.001043/0.001043, allocations: 90.62 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.2759/0.2759, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.219e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6192, allocations: 87.17 MB / 0.5579 GB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.6195, allocations: 74.2 kB / 0.558 GB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.6504, allocations: 7.809 MB / 0.5656 GB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6505, allocations: 3.984 kB / 0.5656 GB, free: 9.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.6505, allocations: 12 kB / 0.5656 GB, free: 9.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007388/0.6513, allocations: 0.5499 MB / 0.5662 GB, free: 8.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6514, allocations: 8.031 kB / 0.5662 GB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.6515, allocations: 47.39 kB / 0.5662 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.6522, allocations: 327.8 kB / 0.5665 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6522, allocations: 3.938 kB / 0.5665 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.6523, allocations: 7.312 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6524, allocations: 47.81 kB / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6525, allocations: 0 / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6525, allocations: 0 / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.6525, allocations: 0 / 0.5666 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.6526, allocations: 38.44 kB / 0.5666 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.6536, allocations: 441.8 kB / 0.567 GB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.6538, allocations: 42.25 kB / 0.5671 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.6539, allocations: 16.05 kB / 0.5671 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.6539, allocations: 4 kB / 0.5671 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.654, allocations: 42.09 kB / 0.5671 GB, free: 7.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.654, allocations: 0 / 0.5671 GB, free: 7.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006746/0.6546, allocations: 189.5 kB / 0.5673 GB, free: 7.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6547, allocations: 59.39 kB / 0.5674 GB, free: 7.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.6567, allocations: 0.776 MB / 0.5681 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.6567, allocations: 29.7 kB / 0.5682 GB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.6569, allocations: 250.7 kB / 0.5684 GB, free: 6.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.657, allocations: 15.73 kB / 0.5684 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.657, allocations: 0 / 0.5684 GB, free: 6.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6572, allocations: 318.3 kB / 0.5687 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.6572, allocations: 7.438 kB / 0.5687 GB, free: 6.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.6573, allocations: 11.44 kB / 0.5687 GB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/0.6573, allocations: 15.55 kB / 0.5688 GB, free: 6.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6574, allocations: 0 / 0.5688 GB, free: 6.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.6576, allocations: 76.47 kB / 0.5688 GB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6576, allocations: 7.953 kB / 0.5688 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6576, allocations: 256 / 0.5688 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6576, allocations: 0 / 0.5688 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.6578, allocations: 19.98 kB / 0.5689 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6578, allocations: 0 / 0.5689 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.658, allocations: 11.44 kB / 0.5689 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.658, allocations: 0 / 0.5689 GB, free: 6.332 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 (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 9.217e-05/0.6581, allocations: 109 kB / 0.569 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6582, allocations: 35.53 kB / 0.569 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.6586, allocations: 133.5 kB / 0.5691 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.6586, allocations: 4 kB / 0.5691 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6587, allocations: 0 / 0.5691 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6587, allocations: 0 / 0.5691 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.6599, allocations: 0.5701 MB / 0.5697 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.6599, allocations: 3.953 kB / 0.5697 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.6601, allocations: 23.92 kB / 0.5697 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6601, allocations: 3.938 kB / 0.5697 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6601, allocations: 0 / 0.5697 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.6602, allocations: 0 / 0.5697 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6602, allocations: 3.938 kB / 0.5697 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.6605, allocations: 195.9 kB / 0.5699 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.6609, allocations: 171.2 kB / 0.5701 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.6609, allocations: 4 kB / 0.5701 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.6611, allocations: 7.984 kB / 0.5701 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.6612, allocations: 7.984 kB / 0.5701 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.6612, allocations: 0 / 0.5701 GB, free: 5.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.6624, allocations: 0.6373 MB / 0.5707 GB, free: 4.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.263e-06/0.6625, allocations: 0 / 0.5707 GB, free: 4.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.663, allocations: 63 kB / 0.5708 GB, free: 4.57 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 (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.001152/0.6642, allocations: 369.5 kB / 0.5711 GB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.6644, allocations: 33.81 kB / 0.5712 GB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6644, allocations: 0 / 0.5712 GB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.6645, allocations: 15.56 kB / 0.5712 GB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.6649, allocations: 28.64 kB / 0.5712 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.6667, allocations: 0.7672 MB / 0.572 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.6674, allocations: 0.833 MB / 0.5728 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6676, allocations: 27.69 kB / 0.5728 GB, free: 2.629 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6676, allocations: 0 / 0.5728 GB, free: 2.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01235/0.6799, allocations: 4.294 MB / 0.577 GB, free: 14.34 MB / 394.7 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