Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001111/0.001111, allocations: 179.9 kB / 18.71 MB, free: 4.367 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.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.276/0.276, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.462, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003309/0.4653, allocations: 1.654 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.4662, allocations: 446.6 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.4663, allocations: 1.375 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.4666, allocations: 65.3 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.4669, allocations: 51.8 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.4674, allocations: 176.2 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4676, allocations: 88.12 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4677, allocations: 15.28 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.4678, allocations: 36.39 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.4679, allocations: 42.05 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.468, allocations: 8.156 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.4681, allocations: 47.72 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.4682, allocations: 25.14 kB / 0.5215 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.4682, allocations: 34.88 kB / 0.5215 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.4684, allocations: 103.6 kB / 0.5216 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4685, allocations: 1.312 kB / 0.5216 GB, free: 1.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4685, allocations: 0 / 0.5216 GB, free: 1.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4685, allocations: 3.938 kB / 0.5216 GB, free: 1.883 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.0005194/0.469, allocations: 414.2 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4691, allocations: 13.38 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.4691, allocations: 9.688 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.4693, allocations: 198.9 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4693, allocations: 1.469 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4693, allocations: 7.812 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.4695, allocations: 66.16 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4696, allocations: 1.094 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4696, allocations: 0 / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.4696, allocations: 1.484 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4698, allocations: 50.81 kB / 0.5224 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.4703, allocations: 313.1 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.4705, allocations: 61.25 kB / 0.5227 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.4706, allocations: 31.02 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4707, allocations: 0 / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4707, allocations: 36.36 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.4707, allocations: 1.344 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.4723, allocations: 421.5 kB / 0.5232 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.4723, allocations: 56.2 kB / 0.5232 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4725, allocations: 176.8 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4725, allocations: 26.45 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.4726, allocations: 101.2 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.4727, allocations: 37.2 kB / 0.5236 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4727, allocations: 28.34 kB / 0.5236 GB, free: 316 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.4728, allocations: 322.1 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.4729, allocations: 55.16 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.4731, allocations: 59.88 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.4734, allocations: 119 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4734, allocations: 0 / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003831/0.4738, allocations: 169.9 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4738, allocations: 5.188 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4739, allocations: 5.094 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4739, allocations: 0 / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.474, allocations: 34.84 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.474, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.4741, allocations: 12.95 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4741, allocations: 2.719 kB / 0.5243 GB, free: 15.82 MB / 398.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.0001302/0.4743, allocations: 132.8 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.4743, allocations: 8.719 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.4748, allocations: 195.5 kB / 0.5247 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.4748, allocations: 8.531 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4748, allocations: 2.531 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4748, allocations: 0.5156 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000823/0.4756, allocations: 0.4897 MB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4757, allocations: 2.203 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.4758, allocations: 32.39 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4758, allocations: 1.094 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4758, allocations: 11.64 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4758, allocations: 1.219 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4758, allocations: 0 / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.4763, allocations: 283.6 kB / 0.5255 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.4763, allocations: 84.8 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.4764, allocations: 2.516 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.4765, allocations: 13.2 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.4765, allocations: 8.766 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4765, allocations: 3.875 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.4767, allocations: 141.1 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4767, allocations: 0 / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.477, allocations: 23.19 kB / 0.5257 GB, free: 14.79 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.001176/0.4781, allocations: 461.5 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.4786, allocations: 134.8 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4786, allocations: 4 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.4788, allocations: 65.78 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.4793, allocations: 21.97 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.4802, allocations: 302.2 kB / 0.5267 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.4807, allocations: 0.7151 MB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.4809, allocations: 33.02 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.4809, allocations: 19.06 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.481, allocations: 0 / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of Templates: time 0.007764/0.4887, allocations: 1.618 MB / 0.529 GB, free: 12.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches