Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002118/0.002117, allocations: 182.2 kB / 16.4 MB, free: 5.723 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.101/2.101, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001146/0.001147, allocations: 88.42 kB / 270.9 MB, free: 8.375 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.5057/0.5057, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006471, allocations: 15.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6314, allocations: 86.83 MB / 0.5635 GB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.6318, allocations: 71.97 kB / 0.5636 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.6506, allocations: 4.305 MB / 0.5678 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6507, allocations: 0 / 0.5678 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.6507, allocations: 0 / 0.5678 GB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006115/0.6513, allocations: 422.4 kB / 0.5682 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.6514, allocations: 12.02 kB / 0.5682 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.6514, allocations: 19.34 kB / 0.5682 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.6517, allocations: 203.5 kB / 0.5684 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6517, allocations: 4.219 kB / 0.5684 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.6518, allocations: 8 kB / 0.5684 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.652, allocations: 53.67 kB / 0.5685 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.652, allocations: 4 kB / 0.5685 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.6521, allocations: 1.031 kB / 0.5685 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6521, allocations: 7.938 kB / 0.5685 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.6523, allocations: 44.62 kB / 0.5685 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.6528, allocations: 301.4 kB / 0.5688 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.653, allocations: 42.56 kB / 0.5689 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.6531, allocations: 0 / 0.5689 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6531, allocations: 42.5 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.827e-06/0.6531, allocations: 0 / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001253/0.6544, allocations: 261.3 kB / 0.5692 GB, free: 9.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.6544, allocations: 51.41 kB / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.6548, allocations: 188.8 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.6548, allocations: 33.7 kB / 0.5694 GB, free: 9.699 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.6549, allocations: 166.5 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.6549, allocations: 23.66 kB / 0.5696 GB, free: 9.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.655, allocations: 0 / 0.5696 GB, free: 9.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6551, allocations: 318.8 kB / 0.5699 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.6553, allocations: 39.97 kB / 0.5699 GB, free: 9.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6555, allocations: 35.97 kB / 0.57 GB, free: 9.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.6558, allocations: 43.97 kB / 0.57 GB, free: 9.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6558, allocations: 4 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004943/0.6563, allocations: 117.6 kB / 0.5701 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6563, allocations: 15.94 kB / 0.5702 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6563, allocations: 0.7812 kB / 0.5702 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.6564, allocations: 7.984 kB / 0.5702 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.6566, allocations: 25.23 kB / 0.5702 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6566, allocations: 4 kB / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.6567, allocations: 15.89 kB / 0.5702 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6568, allocations: 4 kB / 0.5702 GB, free: 8.879 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 (7): * Single equations (assignments): 7 * 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.0001358/0.6569, allocations: 125.8 kB / 0.5703 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.657, allocations: 7.906 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.6576, allocations: 155.3 kB / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6576, allocations: 0 / 0.5705 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6576, allocations: 3.953 kB / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6576, allocations: 0 / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.6585, allocations: 423.2 kB / 0.5709 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6586, allocations: 3.938 kB / 0.5709 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.6588, allocations: 27.97 kB / 0.5709 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.6588, allocations: 3.938 kB / 0.5709 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6588, allocations: 7.953 kB / 0.5709 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.6588, allocations: 4 kB / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6588, allocations: 0 / 0.5709 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.6594, allocations: 223.3 kB / 0.5711 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.6595, allocations: 100.9 kB / 0.5712 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.6595, allocations: 3.938 kB / 0.5712 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.6597, allocations: 19.94 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.6598, allocations: 0 / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.6598, allocations: 4 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.66, allocations: 168.8 kB / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6601, allocations: 0 / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.6604, allocations: 27.94 kB / 0.5715 GB, free: 7.496 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 (7): * Single equations (assignments): 7 * 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.001216/0.6617, allocations: 409.3 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000523/0.6622, allocations: 91.94 kB / 0.5719 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6622, allocations: 4 kB / 0.5719 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.6625, allocations: 55.91 kB / 0.572 GB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.6628, allocations: 15.88 kB / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.6635, allocations: 297.4 kB / 0.5723 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.6639, allocations: 0.7121 MB / 0.573 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.664, allocations: 15.44 kB / 0.573 GB, free: 5.953 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.664, allocations: 0 / 0.573 GB, free: 5.953 MB / 394.7 MB Notification: Performance of Templates: time 0.0052/0.6692, allocations: 1.742 MB / 0.5747 GB, free: 4.211 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches