Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 169 kB / 8.742 MB, free: 344 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.56/1.56, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009935/0.0009935, allocations: 108.5 kB / 281.6 MB, free: 5.32 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.202/0.202, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.8e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.52, allocations: 86.72 MB / 0.5794 GB, free: 9.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5203, allocations: 71.97 kB / 0.5794 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007058/0.5273, allocations: 2.919 MB / 0.5823 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5274, allocations: 0 / 0.5823 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.5274, allocations: 0 / 0.5823 GB, free: 6.816 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.000322/0.5277, allocations: 354.3 kB / 0.5826 GB, free: 6.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5278, allocations: 14.83 kB / 0.5826 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.5278, allocations: 7.906 kB / 0.5826 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.528, allocations: 171.3 kB / 0.5828 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.528, allocations: 7.953 kB / 0.5828 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.528, allocations: 8 kB / 0.5828 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.694e-05/0.5281, allocations: 31.98 kB / 0.5828 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.5283, allocations: 181.5 kB / 0.583 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5283, allocations: 3.984 kB / 0.583 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5284, allocations: 4 kB / 0.583 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5284, allocations: 4 kB / 0.583 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.5294, allocations: 1.682 MB / 0.5847 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.5295, allocations: 173.1 kB / 0.5848 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.5295, allocations: 80.14 kB / 0.5849 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.5296, allocations: 79.22 kB / 0.585 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.5296, allocations: 117.8 kB / 0.5851 GB, free: 3.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5296, allocations: 0 / 0.5851 GB, free: 3.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.408e-05/0.5297, allocations: 37.59 kB / 0.5851 GB, free: 3.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5297, allocations: 55.41 kB / 0.5852 GB, free: 3.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.5299, allocations: 165.2 kB / 0.5853 GB, free: 3.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5299, allocations: 25.7 kB / 0.5854 GB, free: 3.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.53, allocations: 147.1 kB / 0.5855 GB, free: 3.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.53, allocations: 0 / 0.5855 GB, free: 3.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5301, allocations: 0 / 0.5855 GB, free: 3.211 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5302, allocations: 322.8 kB / 0.5858 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.5302, allocations: 35.88 kB / 0.5858 GB, free: 2.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.5304, allocations: 153.1 kB / 0.586 GB, free: 2.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.5305, allocations: 63.91 kB / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5305, allocations: 0 / 0.5861 GB, free: 2.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002782/0.5308, allocations: 165.4 kB / 0.5862 GB, free: 2.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5308, allocations: 8 kB / 0.5862 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5308, allocations: 4 kB / 0.5862 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5308, allocations: 4 kB / 0.5862 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.531, allocations: 39.92 kB / 0.5863 GB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.531, allocations: 11.92 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.5311, allocations: 20.22 kB / 0.5863 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.5311, allocations: 19.95 kB / 0.5863 GB, free: 2.305 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 0.0001097/0.5312, allocations: 188.1 kB / 0.5865 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.5313, allocations: 108.9 kB / 0.5866 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.5314, allocations: 120.7 kB / 0.5867 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-05/0.5314, allocations: 184.2 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.858e-05/0.5315, allocations: 176.3 kB / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.275e-05/0.5316, allocations: 180.3 kB / 0.5872 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.5318, allocations: 409.7 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/0.5319, allocations: 101 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.5319, allocations: 101 kB / 0.5878 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-05/0.532, allocations: 184.2 kB / 0.588 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.532, allocations: 184.2 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.5321, allocations: 184.3 kB / 0.5883 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.13e-05/0.5322, allocations: 184.2 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.5324, allocations: 309 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.5325, allocations: 197.9 kB / 0.589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.5325, allocations: 176.3 kB / 0.5892 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.5326, allocations: 105 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.5327, allocations: 180.2 kB / 0.5894 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.5327, allocations: 109 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.101e-05/0.5328, allocations: 116.1 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5328, allocations: 3.938 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.5331, allocations: 16 kB / 0.5897 GB, free: 14.65 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.0004904/0.5336, allocations: 255.6 kB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.5338, allocations: 68.55 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5338, allocations: 8.375 kB / 0.59 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.5338, allocations: 4 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.0003456/0.5342, allocations: 0.5263 MB / 0.5905 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.5345, allocations: 195.8 kB / 0.5907 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.5348, allocations: 0.6967 MB / 0.5914 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.5349, allocations: 49.14 kB / 0.5914 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.535, allocations: 27.38 kB / 0.5914 GB, free: 12.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.535, allocations: 0 / 0.5914 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Templates: time 0.002927/0.5379, allocations: 0.6595 MB / 0.5921 GB, free: 12.14 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches