Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 98.36 kB / 291.9 MB, free: 10.93 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.3083/0.3083, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 59.91 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3794, allocations: 60.79 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.003736/0.3832, allocations: 1.908 MB / 0.5083 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3844, allocations: 0.8096 MB / 0.509 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.3845, allocations: 2.125 kB / 0.509 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.3851, allocations: 244.6 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.3854, allocations: 172.7 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.3863, allocations: 441.8 kB / 0.5099 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.3865, allocations: 249 kB / 0.5101 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3867, allocations: 42.34 kB / 0.5101 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3868, allocations: 106.1 kB / 0.5102 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.387, allocations: 184.3 kB / 0.5104 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.387, allocations: 5.531 kB / 0.5104 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3871, allocations: 42.31 kB / 0.5105 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3873, allocations: 86.31 kB / 0.5105 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.3873, allocations: 91.7 kB / 0.5106 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3876, allocations: 238.6 kB / 0.5109 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3876, allocations: 0 / 0.5109 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3876, allocations: 0 / 0.5109 GB, free: 35.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3876, allocations: 4 kB / 0.5109 GB, free: 35.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005963/0.3882, allocations: 0.5903 MB / 0.5114 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3882, allocations: 12.09 kB / 0.5115 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.3883, allocations: 36.59 kB / 0.5115 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3886, allocations: 298.3 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3886, allocations: 7.094 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3886, allocations: 9.781 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3888, allocations: 75.75 kB / 0.5119 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3889, allocations: 7.328 kB / 0.5119 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3889, allocations: 4 kB / 0.5119 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3889, allocations: 2.625 kB / 0.5119 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.389, allocations: 51.81 kB / 0.5119 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.3896, allocations: 422.4 kB / 0.5123 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3897, allocations: 61.09 kB / 0.5124 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3897, allocations: 23.48 kB / 0.5124 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3898, allocations: 9.625 kB / 0.5124 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3898, allocations: 34.56 kB / 0.5124 GB, free: 34.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.3898, allocations: 0 / 0.5124 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002971/0.3901, allocations: 126.8 kB / 0.5126 GB, free: 34.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3902, allocations: 63.31 kB / 0.5126 GB, free: 34.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.3906, allocations: 0.5183 MB / 0.5131 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3906, allocations: 25.7 kB / 0.5132 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.3907, allocations: 188.6 kB / 0.5133 GB, free: 33.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3907, allocations: 18.56 kB / 0.5134 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3908, allocations: 19.8 kB / 0.5134 GB, free: 33.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.3908, allocations: 347.6 kB / 0.5137 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.3909, allocations: 22.12 kB / 0.5137 GB, free: 33.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.391, allocations: 23.47 kB / 0.5138 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.3911, allocations: 41.91 kB / 0.5138 GB, free: 33.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3911, allocations: 0 / 0.5138 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001577/0.3912, allocations: 109.8 kB / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3912, allocations: 5.969 kB / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3913, allocations: 0 / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3913, allocations: 0 / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.3914, allocations: 17.14 kB / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3914, allocations: 0 / 0.5139 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.3914, allocations: 11.84 kB / 0.5139 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3914, allocations: 5.875 kB / 0.5139 GB, free: 33.22 MB / 378.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.3916, allocations: 158 kB / 0.5141 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.3916, allocations: 34.81 kB / 0.5141 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.3919, allocations: 132.8 kB / 0.5142 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3919, allocations: 5 kB / 0.5143 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3919, allocations: 1.094 kB / 0.5143 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.3919, allocations: 4 kB / 0.5143 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3922, allocations: 264.7 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3922, allocations: 1.094 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.3922, allocations: 12.61 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3922, allocations: 5.25 kB / 0.5145 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3922, allocations: 5.438 kB / 0.5145 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3923, allocations: 3.938 kB / 0.5145 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3923, allocations: 0 / 0.5145 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3927, allocations: 0.8378 MB / 0.5154 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3928, allocations: 98.05 kB / 0.5154 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3928, allocations: 4 kB / 0.5154 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3929, allocations: 2.969 kB / 0.5155 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3929, allocations: 6.266 kB / 0.5155 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3929, allocations: 0 / 0.5155 GB, free: 31.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002981/0.3932, allocations: 392.4 kB / 0.5158 GB, free: 31.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3932, allocations: 6.531 kB / 0.5158 GB, free: 31.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.3936, allocations: 40.69 kB / 0.5159 GB, free: 31.69 MB / 378.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.3951, allocations: 0.5875 MB / 0.5165 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3953, allocations: 47.17 kB / 0.5165 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3953, allocations: 0 / 0.5165 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.3954, allocations: 32.16 kB / 0.5165 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.396, allocations: 74.53 kB / 0.5166 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3971, allocations: 0.76 MB / 0.5173 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3973, allocations: 0.7894 MB / 0.5181 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.129e-05/0.3974, allocations: 34.48 kB / 0.5181 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.3975, allocations: 19.06 kB / 0.5182 GB, free: 30.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3975, allocations: 0 / 0.5182 GB, free: 30.16 MB / 378.7 MB Notification: Performance of Templates: time 0.005822/0.4033, allocations: 2.563 MB / 0.5207 GB, free: 29.86 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches