Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, 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.352/1.352, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001015/0.001015, allocations: 106.1 kB / 291.9 MB, free: 10.95 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.37/0.37, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 59.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3697, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003244/0.373, allocations: 1.683 MB / 0.508 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.3739, allocations: 0.6685 MB / 0.5087 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.3739, allocations: 0 / 0.5087 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3742, allocations: 28.69 kB / 0.5087 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3744, allocations: 35.52 kB / 0.5087 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.3744, allocations: 6.812 kB / 0.5088 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3746, allocations: 55.27 kB / 0.5088 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3746, allocations: 6.812 kB / 0.5088 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.3747, allocations: 8.141 kB / 0.5088 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.3747, allocations: 16.56 kB / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3747, allocations: 1.094 kB / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.3748, allocations: 12.84 kB / 0.5088 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.3749, allocations: 16.78 kB / 0.5089 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.3749, allocations: 27.67 kB / 0.5089 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.375, allocations: 61.72 kB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.375, allocations: 0 / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.375, allocations: 4 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.375, allocations: 3.938 kB / 0.509 GB, free: 36.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002989/0.3753, allocations: 359.8 kB / 0.5093 GB, free: 36.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3754, allocations: 9.656 kB / 0.5093 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.3754, allocations: 7.469 kB / 0.5093 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.3755, allocations: 174.8 kB / 0.5095 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3756, allocations: 1.625 kB / 0.5095 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3756, allocations: 2.469 kB / 0.5095 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3758, allocations: 129.8 kB / 0.5096 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3758, allocations: 192 / 0.5096 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3759, allocations: 8.641 kB / 0.5096 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.3759, allocations: 27.95 kB / 0.5096 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.376, allocations: 42.59 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.3764, allocations: 0.8915 MB / 0.5106 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.3765, allocations: 169.1 kB / 0.5107 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.3765, allocations: 84.14 kB / 0.5108 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3766, allocations: 79.22 kB / 0.5109 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3766, allocations: 108.7 kB / 0.511 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3766, allocations: 0 / 0.511 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.764e-05/0.3767, allocations: 36.42 kB / 0.511 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.3767, allocations: 130.7 kB / 0.5111 GB, free: 34.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3768, allocations: 189.5 kB / 0.5113 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.3768, allocations: 25.7 kB / 0.5113 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.3769, allocations: 150.2 kB / 0.5115 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.3769, allocations: 2.969 kB / 0.5115 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.377, allocations: 43.55 kB / 0.5115 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.377, allocations: 325.2 kB / 0.5118 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.3771, allocations: 31.39 kB / 0.5119 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.3772, allocations: 160 kB / 0.512 GB, free: 33.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3773, allocations: 199 kB / 0.5122 GB, free: 33.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3773, allocations: 6.781 kB / 0.5122 GB, free: 33.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002402/0.3776, allocations: 201.5 kB / 0.5124 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3776, allocations: 5.969 kB / 0.5124 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3776, allocations: 5.625 kB / 0.5124 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3776, allocations: 6.531 kB / 0.5124 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3777, allocations: 39.59 kB / 0.5125 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3778, allocations: 15.91 kB / 0.5125 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.3778, allocations: 19.97 kB / 0.5125 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3779, allocations: 8.438 kB / 0.5125 GB, free: 33.04 MB / 378.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.3779, allocations: 215.1 kB / 0.5127 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.378, allocations: 115.3 kB / 0.5128 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.378, allocations: 117.4 kB / 0.5129 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.3781, allocations: 187.2 kB / 0.5131 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/0.3781, allocations: 176.3 kB / 0.5133 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.3781, allocations: 176.3 kB / 0.5134 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.3783, allocations: 425.4 kB / 0.5139 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.3783, allocations: 108.1 kB / 0.514 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.3783, allocations: 112.9 kB / 0.5141 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.413e-05/0.3783, allocations: 187 kB / 0.5142 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3784, allocations: 176.3 kB / 0.5144 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-05/0.3784, allocations: 183.3 kB / 0.5146 GB, free: 30.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/0.3784, allocations: 179.6 kB / 0.5148 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3786, allocations: 0.8613 MB / 0.5156 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.3787, allocations: 184.4 kB / 0.5158 GB, free: 29.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.3787, allocations: 181.9 kB / 0.5159 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.3788, allocations: 104.9 kB / 0.516 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3788, allocations: 182.8 kB / 0.5162 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3788, allocations: 104.9 kB / 0.5163 GB, free: 28.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.663e-05/0.3789, allocations: 134.8 kB / 0.5165 GB, free: 28.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3789, allocations: 0 / 0.5165 GB, free: 28.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.3793, allocations: 25.25 kB / 0.5165 GB, free: 28.86 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 (0): * Single equations (assignments): 0 * 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.0003944/0.3797, allocations: 270.1 kB / 0.5167 GB, free: 28.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.3798, allocations: 77.77 kB / 0.5168 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3798, allocations: 0 / 0.5168 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3798, allocations: 7.281 kB / 0.5168 GB, free: 28.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3801, allocations: 0.5269 MB / 0.5173 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.3804, allocations: 265.5 kB / 0.5176 GB, free: 27.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.3805, allocations: 0.6974 MB / 0.5183 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.3806, allocations: 49.56 kB / 0.5183 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3807, allocations: 20.61 kB / 0.5183 GB, free: 27.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3807, allocations: 0 / 0.5183 GB, free: 27.16 MB / 378.7 MB Notification: Performance of Templates: time 0.002347/0.383, allocations: 0.6677 MB / 0.519 GB, free: 27.06 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches