Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, 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.428/1.428, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009516/0.0009516, allocations: 87.48 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.1922/0.1922, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.722e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.6024, allocations: 89.86 MB / 0.5824 GB, free: 6.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6027, allocations: 67.97 kB / 0.5825 GB, free: 6.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02645/0.6292, allocations: 8.65 MB / 0.5909 GB, free: 13.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6292, allocations: 4 kB / 0.5909 GB, free: 13.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.6293, allocations: 8 kB / 0.591 GB, free: 13.92 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006004/0.6299, allocations: 0.5429 MB / 0.5915 GB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.6299, allocations: 12.03 kB / 0.5915 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.63, allocations: 39.47 kB / 0.5915 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.6305, allocations: 347.3 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.6305, allocations: 4 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.6306, allocations: 12 kB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.6307, allocations: 51.94 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6309, allocations: 89.59 kB / 0.592 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6309, allocations: 8.125 kB / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.6309, allocations: 0 / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6309, allocations: 7.938 kB / 0.592 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.6315, allocations: 468.9 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.6316, allocations: 86.55 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.6317, allocations: 32.8 kB / 0.5926 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.6317, allocations: 3.984 kB / 0.5926 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6318, allocations: 38.52 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.6318, allocations: 0 / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006765/0.6324, allocations: 301.2 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.6325, allocations: 63.39 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.633, allocations: 473.4 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.6331, allocations: 25.7 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.6332, allocations: 208.2 kB / 0.5937 GB, free: 10.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.6333, allocations: 51.2 kB / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.6333, allocations: 0 / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6334, allocations: 350.8 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.6335, allocations: 40 kB / 0.5941 GB, free: 10.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.6335, allocations: 36 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.6336, allocations: 49.28 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6336, allocations: 0 / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002238/0.6339, allocations: 166.4 kB / 0.5943 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6339, allocations: 8 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6339, allocations: 3.938 kB / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6339, allocations: 0 / 0.5943 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.6341, allocations: 31.98 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6341, allocations: 0 / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.6342, allocations: 15.98 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6342, allocations: 4 kB / 0.5944 GB, free: 10.21 MB / 410.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 (17): * Single equations (assignments): 17 * 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.449e-05/0.6343, allocations: 108.9 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.6343, allocations: 43.39 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.6347, allocations: 202.7 kB / 0.5947 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.6347, allocations: 4 kB / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6347, allocations: 8 kB / 0.5947 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6347, allocations: 0 / 0.5947 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.6354, allocations: 0.6157 MB / 0.5953 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6354, allocations: 0 / 0.5953 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.6356, allocations: 31.98 kB / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6356, allocations: 3.938 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6356, allocations: 12 kB / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6356, allocations: 0 / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6356, allocations: 0 / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.6359, allocations: 268.2 kB / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.636, allocations: 144.6 kB / 0.5958 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.6361, allocations: 7.938 kB / 0.5958 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6362, allocations: 4 kB / 0.5958 GB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.6362, allocations: 15.98 kB / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.6362, allocations: 4 kB / 0.5958 GB, free: 8.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003871/0.6366, allocations: 382.9 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6366, allocations: 0 / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.637, allocations: 63.92 kB / 0.5962 GB, free: 8.23 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 (17): * Single equations (assignments): 17 * 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.001309/0.6383, allocations: 0.5783 MB / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.6385, allocations: 107.8 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6385, allocations: 0 / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.6386, allocations: 55.94 kB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.639, allocations: 69.77 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.6398, allocations: 0.5058 MB / 0.5975 GB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.6402, allocations: 0.8062 MB / 0.5983 GB, free: 6.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.6403, allocations: 54.05 kB / 0.5983 GB, free: 6.129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.6404, allocations: 39.36 kB / 0.5984 GB, free: 6.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6404, allocations: 0 / 0.5984 GB, free: 6.09 MB / 410.7 MB Notification: Performance of Templates: time 0.00921/0.6496, allocations: 3.323 MB / 0.6016 GB, free: 2.773 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches