Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 180.8 kB / 17.41 MB, free: 4.406 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.394/1.394, allocations: 205.4 MB / 223.6 MB, free: 8.953 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.0007158/0.0007158, allocations: 91.39 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.3829/0.3829, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004329, allocations: 12 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.4598, allocations: 87.23 MB / 0.5651 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4601, allocations: 71.95 kB / 0.5652 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.4771, allocations: 7.88 MB / 0.5729 GB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4771, allocations: 0 / 0.5729 GB, free: 7.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.4771, allocations: 8 kB / 0.5729 GB, free: 7.113 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.0006744/0.4778, allocations: 0.629 MB / 0.5735 GB, free: 6.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4779, allocations: 8.578 kB / 0.5735 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.4779, allocations: 44.38 kB / 0.5735 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.4784, allocations: 359.4 kB / 0.5739 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4784, allocations: 1.031 kB / 0.5739 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.4784, allocations: 4.375 kB / 0.5739 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4786, allocations: 67.45 kB / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4786, allocations: 192 / 0.574 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4786, allocations: 7.938 kB / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4787, allocations: 0 / 0.574 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.4788, allocations: 51.89 kB / 0.574 GB, free: 5.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.4794, allocations: 468.5 kB / 0.5745 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4795, allocations: 50.55 kB / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.4796, allocations: 32.94 kB / 0.5745 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.4797, allocations: 0 / 0.5745 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4797, allocations: 38.55 kB / 0.5746 GB, free: 5.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.4797, allocations: 0 / 0.5746 GB, free: 5.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008402/0.4805, allocations: 336 kB / 0.5749 GB, free: 4.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4806, allocations: 59.39 kB / 0.575 GB, free: 4.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.4818, allocations: 0.8405 MB / 0.5758 GB, free: 3.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4818, allocations: 33.7 kB / 0.5758 GB, free: 3.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4819, allocations: 212 kB / 0.576 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.482, allocations: 23.64 kB / 0.576 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.482, allocations: 4 kB / 0.576 GB, free: 3.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4821, allocations: 370.9 kB / 0.5764 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4823, allocations: 43.97 kB / 0.5764 GB, free: 3.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4824, allocations: 44.83 kB / 0.5765 GB, free: 3.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.4827, allocations: 109.5 kB / 0.5766 GB, free: 3.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4827, allocations: 0 / 0.5766 GB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003189/0.483, allocations: 169.4 kB / 0.5767 GB, free: 2.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.483, allocations: 8 kB / 0.5767 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.483, allocations: 0 / 0.5767 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4831, allocations: 0 / 0.5767 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4832, allocations: 27.92 kB / 0.5768 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4832, allocations: 12.05 kB / 0.5768 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.4833, allocations: 8 kB / 0.5768 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4833, allocations: 8 kB / 0.5768 GB, free: 2.883 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.0001875/0.4835, allocations: 221.7 kB / 0.577 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.4836, allocations: 43.44 kB / 0.5771 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.484, allocations: 193.4 kB / 0.5772 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.484, allocations: 3.984 kB / 0.5772 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.484, allocations: 0 / 0.5772 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.484, allocations: 0 / 0.5772 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.4848, allocations: 0.6622 MB / 0.5779 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4849, allocations: 0 / 0.5779 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.485, allocations: 23.92 kB / 0.5779 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.485, allocations: 4 kB / 0.5779 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.485, allocations: 4 kB / 0.5779 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.485, allocations: 4.828 kB / 0.5779 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.485, allocations: 3.938 kB / 0.5779 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.4854, allocations: 267.8 kB / 0.5782 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4855, allocations: 164.5 kB / 0.5783 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.4856, allocations: 7.984 kB / 0.5783 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4857, allocations: 8 kB / 0.5784 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.4858, allocations: 11.92 kB / 0.5784 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4858, allocations: 8 kB / 0.5784 GB, free: 1.164 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006951/0.4865, allocations: 0.6355 MB / 0.579 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4865, allocations: 3.938 kB / 0.579 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003023/0.4868, allocations: 67.92 kB / 0.5791 GB, free: 472 kB / 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.0008402/0.4877, allocations: 402.2 kB / 0.5794 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.488, allocations: 107.9 kB / 0.5796 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.488, allocations: 0 / 0.5796 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.4881, allocations: 55.97 kB / 0.5796 GB, free: 0 / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4885, allocations: 26.08 kB / 0.5796 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4897, allocations: 0.9913 MB / 0.5806 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4901, allocations: 0.8262 MB / 0.5814 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.4902, allocations: 23.69 kB / 0.5814 GB, free: 14.07 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4902, allocations: 7.938 kB / 0.5814 GB, free: 14.07 MB / 410.7 MB Notification: Performance of Templates: time 0.007258/0.4975, allocations: 4.432 MB / 0.5858 GB, free: 9.625 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches