Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 181.6 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.549/1.549, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007646/0.0007646, allocations: 96.97 kB / 271.9 MB, free: 8.242 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.3001/0.3001, allocations: 43.55 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09981, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.3531, allocations: 86.78 MB / 0.5647 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3534, allocations: 75.95 kB / 0.5647 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.369, allocations: 7.766 MB / 0.5723 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3691, allocations: 4 kB / 0.5723 GB, free: 7.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.3691, allocations: 4 kB / 0.5723 GB, free: 7.684 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.0005691/0.3697, allocations: 0.6177 MB / 0.5729 GB, free: 7.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3697, allocations: 8.031 kB / 0.5729 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.3698, allocations: 40.47 kB / 0.573 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3702, allocations: 348.8 kB / 0.5733 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3702, allocations: 8.312 kB / 0.5733 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3702, allocations: 384 / 0.5733 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3703, allocations: 50.25 kB / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3703, allocations: 192 / 0.5734 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3704, allocations: 5.25 kB / 0.5734 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3704, allocations: 0 / 0.5734 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.076e-05/0.3705, allocations: 31.97 kB / 0.5734 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.3709, allocations: 420.7 kB / 0.5738 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.371, allocations: 38.52 kB / 0.5738 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.3711, allocations: 16.91 kB / 0.5739 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3711, allocations: 0 / 0.5739 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3711, allocations: 30.56 kB / 0.5739 GB, free: 5.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3711, allocations: 0 / 0.5739 GB, free: 5.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.3714, allocations: 117.1 kB / 0.574 GB, free: 5.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3714, allocations: 51.41 kB / 0.5741 GB, free: 5.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3726, allocations: 0.8534 MB / 0.5749 GB, free: 4.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3726, allocations: 25.7 kB / 0.5749 GB, free: 4.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3727, allocations: 220 kB / 0.5751 GB, free: 4.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3728, allocations: 7.906 kB / 0.5751 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3728, allocations: 4.125 kB / 0.5751 GB, free: 4.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3729, allocations: 362.8 kB / 0.5755 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.3729, allocations: 8 kB / 0.5755 GB, free: 4.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.373, allocations: 11.98 kB / 0.5755 GB, free: 4.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.3731, allocations: 28.86 kB / 0.5755 GB, free: 4.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3731, allocations: 3.984 kB / 0.5755 GB, free: 4.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001416/0.3732, allocations: 93.16 kB / 0.5756 GB, free: 4.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3732, allocations: 8 kB / 0.5756 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3732, allocations: 0 / 0.5756 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3733, allocations: 0 / 0.5756 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.3733, allocations: 4 kB / 0.5756 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3733, allocations: 0.75 kB / 0.5756 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.3734, allocations: 15.91 kB / 0.5756 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.3734, allocations: 7.984 kB / 0.5757 GB, free: 4.074 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 (2): * Single equations (assignments): 2 * 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.0001587/0.3736, allocations: 209.7 kB / 0.5759 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.3736, allocations: 43.44 kB / 0.5759 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.3738, allocations: 100.6 kB / 0.576 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3738, allocations: 4.031 kB / 0.576 GB, free: 3.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3739, allocations: 7.938 kB / 0.576 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3739, allocations: 3.938 kB / 0.576 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.3741, allocations: 325.4 kB / 0.5763 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3741, allocations: 0 / 0.5763 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.3742, allocations: 7.984 kB / 0.5763 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.3742, allocations: 4 kB / 0.5763 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3742, allocations: 0 / 0.5763 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3742, allocations: 0 / 0.5763 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3742, allocations: 0 / 0.5763 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.3744, allocations: 190.9 kB / 0.5765 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3746, allocations: 160.6 kB / 0.5767 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3746, allocations: 3.984 kB / 0.5767 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.3747, allocations: 4 kB / 0.5767 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3747, allocations: 4 kB / 0.5767 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.3747, allocations: 4.031 kB / 0.5767 GB, free: 2.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.3754, allocations: 0.6355 MB / 0.5773 GB, free: 2.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.3754, allocations: 0 / 0.5773 GB, free: 2.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.3756, allocations: 63.86 kB / 0.5774 GB, free: 2.227 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 (2): * Single equations (assignments): 2 * 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.0007015/0.3763, allocations: 361.6 kB / 0.5777 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.3765, allocations: 23.98 kB / 0.5777 GB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3765, allocations: 0 / 0.5777 GB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.3766, allocations: 15.98 kB / 0.5777 GB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.377, allocations: 25.89 kB / 0.5778 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3781, allocations: 0.9249 MB / 0.5787 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3785, allocations: 0.8184 MB / 0.5795 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.3786, allocations: 19.42 kB / 0.5795 GB, free: 84 kB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3786, allocations: 0 / 0.5795 GB, free: 84 kB / 394.7 MB Notification: Performance of Templates: time 0.006524/0.3851, allocations: 3.994 MB / 0.5834 GB, free: 12.08 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches