Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 113.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4494, allocations: 60.82 MB / 0.5189 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002968/0.4524, allocations: 1.646 MB / 0.5205 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.4532, allocations: 455.1 kB / 0.521 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.4533, allocations: 1.438 kB / 0.521 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.4536, allocations: 61.14 kB / 0.521 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.4539, allocations: 53.59 kB / 0.5211 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.4543, allocations: 175.5 kB / 0.5213 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.4545, allocations: 88.98 kB / 0.5213 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.4546, allocations: 16.53 kB / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.4547, allocations: 36.77 kB / 0.5214 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.4548, allocations: 47.69 kB / 0.5214 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.4549, allocations: 3.562 kB / 0.5214 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.455, allocations: 55.56 kB / 0.5215 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.099e-05/0.4551, allocations: 22.08 kB / 0.5215 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.4552, allocations: 26.78 kB / 0.5215 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.4554, allocations: 115.5 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4554, allocations: 1.062 kB / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4554, allocations: 0 / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4554, allocations: 0 / 0.5216 GB, free: 2.141 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004518/0.4559, allocations: 413 kB / 0.522 GB, free: 1.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4559, allocations: 10.17 kB / 0.522 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.4559, allocations: 17.16 kB / 0.5221 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4561, allocations: 199.6 kB / 0.5223 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4561, allocations: 3.438 kB / 0.5223 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4562, allocations: 6.312 kB / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.4564, allocations: 67.44 kB / 0.5223 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4564, allocations: 0 / 0.5223 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4564, allocations: 4 kB / 0.5223 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4564, allocations: 1.344 kB / 0.5223 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.4566, allocations: 47.7 kB / 0.5224 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.457, allocations: 313.4 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.4573, allocations: 55.5 kB / 0.5227 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.4574, allocations: 27.98 kB / 0.5228 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4574, allocations: 5.5 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.4574, allocations: 34.59 kB / 0.5228 GB, free: 1.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.4574, allocations: 0 / 0.5228 GB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001604/0.459, allocations: 425.8 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4591, allocations: 60.66 kB / 0.5233 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4593, allocations: 178.3 kB / 0.5234 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4593, allocations: 25.7 kB / 0.5235 GB, free: 0.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.4593, allocations: 100.9 kB / 0.5236 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4594, allocations: 39.25 kB / 0.5236 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4594, allocations: 26.09 kB / 0.5236 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.4595, allocations: 322.7 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4596, allocations: 55.47 kB / 0.524 GB, free: 232 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4598, allocations: 55.83 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.46, allocations: 124.5 kB / 0.5241 GB, free: 172 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4601, allocations: 0 / 0.5241 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003284/0.4604, allocations: 172.3 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4604, allocations: 5.281 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4604, allocations: 4.734 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4604, allocations: 5.719 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4606, allocations: 24.69 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4606, allocations: 0.8438 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.4607, allocations: 13.12 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.4607, allocations: 3.562 kB / 0.5244 GB, free: 76 kB / 382.1 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 (11): * Single equations (assignments): 11 * 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.0001363/0.4608, allocations: 136.2 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.4609, allocations: 8.969 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.4613, allocations: 185.9 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4613, allocations: 1.281 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4613, allocations: 5.266 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4614, allocations: 0.6094 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.4621, allocations: 0.498 MB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4621, allocations: 2.047 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.4622, allocations: 29.56 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4623, allocations: 5.406 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4623, allocations: 6.469 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4623, allocations: 1.828 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4623, allocations: 0 / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.4627, allocations: 270.9 kB / 0.5255 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.4628, allocations: 89.14 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.4628, allocations: 2.344 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4629, allocations: 9.906 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.463, allocations: 16.25 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.463, allocations: 3.031 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.4631, allocations: 141.1 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4631, allocations: 0 / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.4634, allocations: 25.28 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001032/0.4644, allocations: 461.5 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.4648, allocations: 135 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4649, allocations: 0 / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.465, allocations: 69.69 kB / 0.5264 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.4654, allocations: 16.23 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.466, allocations: 297.8 kB / 0.5267 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4663, allocations: 0.7266 MB / 0.5274 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.4664, allocations: 28.94 kB / 0.5274 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.4665, allocations: 14.97 kB / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4665, allocations: 0 / 0.5274 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.00525/0.4718, allocations: 1.62 MB / 0.529 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches