Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.00179, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008759, allocations: 95.05 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.838e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5643, allocations: 87.99 MB / 0.5806 GB, free: 8.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5645, allocations: 68.72 kB / 0.5807 GB, free: 8.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.5754, allocations: 4.322 MB / 0.5849 GB, free: 4.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5755, allocations: 7.938 kB / 0.5849 GB, free: 4.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.5755, allocations: 0 / 0.5849 GB, free: 4.145 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.0004088/0.5759, allocations: 375.8 kB / 0.5853 GB, free: 3.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.576, allocations: 15.98 kB / 0.5853 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.576, allocations: 7.906 kB / 0.5853 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.5763, allocations: 190.8 kB / 0.5855 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5763, allocations: 3.953 kB / 0.5855 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.5763, allocations: 8 kB / 0.5855 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.251e-05/0.5764, allocations: 12 kB / 0.5855 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5765, allocations: 67.38 kB / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5765, allocations: 0 / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5765, allocations: 0 / 0.5855 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5765, allocations: 4 kB / 0.5855 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.5769, allocations: 269.2 kB / 0.5858 GB, free: 3.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.577, allocations: 26.58 kB / 0.5858 GB, free: 3.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.577, allocations: 24.94 kB / 0.5859 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.577, allocations: 0 / 0.5859 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5771, allocations: 30.56 kB / 0.5859 GB, free: 2.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.5771, allocations: 0 / 0.5859 GB, free: 2.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004343/0.5775, allocations: 129.3 kB / 0.586 GB, free: 2.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.5776, allocations: 81.11 kB / 0.5861 GB, free: 2.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.5777, allocations: 131.2 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5777, allocations: 25.7 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.5778, allocations: 96.12 kB / 0.5863 GB, free: 2.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.5778, allocations: 11.72 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5778, allocations: 4 kB / 0.5863 GB, free: 2.465 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5779, allocations: 322.8 kB / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.578, allocations: 12 kB / 0.5867 GB, free: 2.129 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.578, allocations: 33.66 kB / 0.5867 GB, free: 2.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.5781, allocations: 23 kB / 0.5867 GB, free: 2.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5781, allocations: 0 / 0.5867 GB, free: 2.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001054/0.5782, allocations: 73.59 kB / 0.5868 GB, free: 1.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5782, allocations: 5.25 kB / 0.5868 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5782, allocations: 0 / 0.5868 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5782, allocations: 0 / 0.5868 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5784, allocations: 23.98 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5784, allocations: 4.031 kB / 0.5868 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.5784, allocations: 19.92 kB / 0.5868 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.5785, allocations: 0 / 0.5868 GB, free: 1.941 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 () * 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 7.032e-05/0.5785, allocations: 108.9 kB / 0.5869 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.5786, allocations: 7.906 kB / 0.5869 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.5787, allocations: 82.3 kB / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5788, allocations: 3.938 kB / 0.587 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5788, allocations: 4 kB / 0.587 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.5788, allocations: 0 / 0.587 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.5791, allocations: 331 kB / 0.5873 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5791, allocations: 4 kB / 0.5874 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.5792, allocations: 19.98 kB / 0.5874 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5792, allocations: 3.984 kB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.5792, allocations: 4 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5792, allocations: 8 kB / 0.5874 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5792, allocations: 0.6094 kB / 0.5874 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.5794, allocations: 175.4 kB / 0.5876 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.5795, allocations: 89 kB / 0.5876 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.5795, allocations: 4 kB / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.5796, allocations: 11.94 kB / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.5796, allocations: 15.97 kB / 0.5877 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5796, allocations: 0 / 0.5877 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.5797, allocations: 108.9 kB / 0.5878 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5797, allocations: 0 / 0.5878 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.58, allocations: 31.98 kB / 0.5878 GB, free: 0.8555 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 () * 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.00081/0.5808, allocations: 377.6 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.5809, allocations: 36 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5809, allocations: 0 / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.581, allocations: 27.94 kB / 0.5882 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5812, allocations: 15.94 kB / 0.5882 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.5815, allocations: 116.3 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.5818, allocations: 0.6963 MB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.63e-05/0.5819, allocations: 16.25 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.5819, allocations: 23.42 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5819, allocations: 0 / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of Templates: time 0.003569/0.5855, allocations: 1.375 MB / 0.5904 GB, free: 14.21 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches