Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 169.7 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.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008727/0.000873, allocations: 98.05 kB / 281.6 MB, free: 5.266 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.1898/0.1898, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.489e-05/1.483e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5216, allocations: 86.72 MB / 0.5794 GB, free: 9.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5219, allocations: 75.95 kB / 0.5794 GB, free: 9.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006778/0.5287, allocations: 2.909 MB / 0.5823 GB, free: 6.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5287, allocations: 0.75 kB / 0.5823 GB, free: 6.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.5287, allocations: 0 / 0.5823 GB, free: 6.809 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003262/0.5291, allocations: 362.2 kB / 0.5826 GB, free: 6.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5291, allocations: 19.98 kB / 0.5826 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.5292, allocations: 11.73 kB / 0.5826 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5293, allocations: 167.4 kB / 0.5828 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.5294, allocations: 7.953 kB / 0.5828 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.5294, allocations: 4 kB / 0.5828 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.5295, allocations: 39.92 kB / 0.5829 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5297, allocations: 171.3 kB / 0.583 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5297, allocations: 4 kB / 0.583 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5297, allocations: 0 / 0.583 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.5298, allocations: 15.94 kB / 0.583 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.5307, allocations: 1.671 MB / 0.5847 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.5308, allocations: 177.1 kB / 0.5848 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.5308, allocations: 84.14 kB / 0.5849 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.5308, allocations: 75.28 kB / 0.585 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.5309, allocations: 113.8 kB / 0.5851 GB, free: 3.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5309, allocations: 0 / 0.5851 GB, free: 3.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.651e-05/0.531, allocations: 33.61 kB / 0.5851 GB, free: 3.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.531, allocations: 51.41 kB / 0.5852 GB, free: 3.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.5312, allocations: 165.2 kB / 0.5853 GB, free: 3.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5312, allocations: 25.7 kB / 0.5854 GB, free: 3.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.5313, allocations: 147.1 kB / 0.5855 GB, free: 3.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.5313, allocations: 8 kB / 0.5855 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5313, allocations: 0 / 0.5855 GB, free: 3.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5315, allocations: 322.8 kB / 0.5858 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.5315, allocations: 31.94 kB / 0.5858 GB, free: 2.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5316, allocations: 151.5 kB / 0.586 GB, free: 2.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.5317, allocations: 59.91 kB / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5317, allocations: 0 / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002684/0.532, allocations: 165.2 kB / 0.5862 GB, free: 2.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.5321, allocations: 9.406 kB / 0.5862 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5321, allocations: 4.625 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.5321, allocations: 12 kB / 0.5862 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5322, allocations: 43.91 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.5323, allocations: 7.938 kB / 0.5863 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.5323, allocations: 22.7 kB / 0.5863 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5324, allocations: 16.7 kB / 0.5863 GB, free: 2.301 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.488e-05/0.5324, allocations: 184.1 kB / 0.5865 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.5325, allocations: 112.9 kB / 0.5866 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.5326, allocations: 128.7 kB / 0.5867 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.5327, allocations: 176.3 kB / 0.5869 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/0.5327, allocations: 176.3 kB / 0.5871 GB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-05/0.5328, allocations: 180.2 kB / 0.5872 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.533, allocations: 405.7 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.323e-05/0.533, allocations: 109 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.5331, allocations: 108.9 kB / 0.5878 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-05/0.5331, allocations: 184.2 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.5332, allocations: 176.3 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.942e-05/0.5332, allocations: 188.2 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.472e-05/0.5333, allocations: 180.3 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.5334, allocations: 321 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.5335, allocations: 190 kB / 0.589 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.5336, allocations: 176.3 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.5337, allocations: 108.9 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.5337, allocations: 180.2 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5338, allocations: 105 kB / 0.5896 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.5339, allocations: 120.1 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5339, allocations: 0 / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.5341, allocations: 16 kB / 0.5897 GB, free: 14.64 MB / 410.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 (0): * Single equations (assignments): 0 * 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.0004641/0.5346, allocations: 249.5 kB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.5347, allocations: 67.8 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5347, allocations: 0 / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.5347, allocations: 3.938 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.535, allocations: 0.5314 MB / 0.5905 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.5353, allocations: 199.8 kB / 0.5907 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5356, allocations: 0.7044 MB / 0.5914 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.5357, allocations: 53.14 kB / 0.5914 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.5358, allocations: 11.44 kB / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5358, allocations: 0 / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of Templates: time 0.00259/0.5384, allocations: 0.6587 MB / 0.5921 GB, free: 12.14 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches