Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 178.1 kB / 17.41 MB, free: 4.293 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.431/1.431, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007899/0.00079, allocations: 89.42 kB / 271.9 MB, free: 8.262 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.4599/0.4599, allocations: 43.56 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 15.98 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1448, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.5062, allocations: 86.88 MB / 0.5648 GB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5065, allocations: 71.97 kB / 0.5648 GB, free: 15.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.5236, allocations: 8.035 MB / 0.5727 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5236, allocations: 1.031 kB / 0.5727 GB, free: 7.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.5236, allocations: 4 kB / 0.5727 GB, free: 7.32 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.0007056/0.5243, allocations: 0.6366 MB / 0.5733 GB, free: 6.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5244, allocations: 12.03 kB / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.5245, allocations: 40.38 kB / 0.5734 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.5249, allocations: 352.1 kB / 0.5737 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.5249, allocations: 4.312 kB / 0.5737 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.5249, allocations: 4.375 kB / 0.5737 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5251, allocations: 59.09 kB / 0.5738 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5251, allocations: 4.188 kB / 0.5738 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.5252, allocations: 7.938 kB / 0.5738 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5252, allocations: 2.906 kB / 0.5738 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.5253, allocations: 43.97 kB / 0.5738 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.5259, allocations: 428.7 kB / 0.5742 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.526, allocations: 54.5 kB / 0.5743 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.5261, allocations: 24.94 kB / 0.5743 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.5261, allocations: 8.047 kB / 0.5743 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.5261, allocations: 38.62 kB / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5261, allocations: 0 / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008355/0.527, allocations: 323.8 kB / 0.5747 GB, free: 5.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.527, allocations: 59.41 kB / 0.5747 GB, free: 5.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5283, allocations: 0.8417 MB / 0.5755 GB, free: 4.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5283, allocations: 25.7 kB / 0.5756 GB, free: 4.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.5284, allocations: 216.1 kB / 0.5758 GB, free: 3.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5285, allocations: 19.66 kB / 0.5758 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.5285, allocations: 4 kB / 0.5758 GB, free: 3.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5286, allocations: 362.7 kB / 0.5761 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.5288, allocations: 43.97 kB / 0.5762 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5289, allocations: 39.97 kB / 0.5762 GB, free: 3.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.5291, allocations: 93.53 kB / 0.5763 GB, free: 3.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5291, allocations: 0 / 0.5763 GB, free: 3.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003107/0.5294, allocations: 173.2 kB / 0.5765 GB, free: 3.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5295, allocations: 8 kB / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.5295, allocations: 0 / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5295, allocations: 0 / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.5296, allocations: 23.98 kB / 0.5765 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5296, allocations: 4 kB / 0.5765 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.5297, allocations: 11.98 kB / 0.5765 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5297, allocations: 4 kB / 0.5765 GB, free: 3.184 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.0001881/0.5299, allocations: 221.6 kB / 0.5767 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.53, allocations: 43.42 kB / 0.5768 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/0.5304, allocations: 181.4 kB / 0.5769 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5304, allocations: 1.031 kB / 0.5769 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5304, allocations: 4 kB / 0.5769 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.5304, allocations: 0 / 0.5769 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.5313, allocations: 0.6427 MB / 0.5776 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5313, allocations: 1.625 kB / 0.5776 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.5314, allocations: 23.98 kB / 0.5776 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5314, allocations: 0 / 0.5776 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5314, allocations: 0 / 0.5776 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5314, allocations: 0 / 0.5776 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5314, allocations: 3.938 kB / 0.5776 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.5318, allocations: 258.9 kB / 0.5778 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.5319, allocations: 168.5 kB / 0.578 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.532, allocations: 8 kB / 0.578 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5321, allocations: 11.98 kB / 0.578 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.5321, allocations: 11.92 kB / 0.578 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.5322, allocations: 0 / 0.578 GB, free: 1.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.5328, allocations: 0.6394 MB / 0.5787 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5328, allocations: 0 / 0.5787 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.5331, allocations: 63.94 kB / 0.5787 GB, free: 0.8164 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.0008541/0.534, allocations: 411.6 kB / 0.5791 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.5343, allocations: 99.88 kB / 0.5792 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5343, allocations: 0 / 0.5792 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5344, allocations: 43.97 kB / 0.5793 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5348, allocations: 29.89 kB / 0.5793 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.536, allocations: 0.9646 MB / 0.5802 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.5364, allocations: 0.8223 MB / 0.581 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.5365, allocations: 19.44 kB / 0.581 GB, free: 14.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5365, allocations: 0 / 0.581 GB, free: 14.47 MB / 410.7 MB Notification: Performance of Templates: time 0.00721/0.5437, allocations: 4.338 MB / 0.5853 GB, free: 10.12 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches