Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001141/0.001141, allocations: 187 kB / 18.71 MB, free: 4.344 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.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2374/0.2374, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4435, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003938/0.4475, allocations: 1.63 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.449, allocations: 1.034 MB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.4491, allocations: 1.094 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.4494, allocations: 23.44 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.4498, allocations: 41.38 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.4502, allocations: 129 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4504, allocations: 65.38 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.4506, allocations: 17.33 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.4506, allocations: 21.45 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4508, allocations: 39.28 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.4508, allocations: 3.719 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.451, allocations: 47.12 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.4511, allocations: 23.16 kB / 0.5219 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.4511, allocations: 22.94 kB / 0.5219 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.4513, allocations: 90.25 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4514, allocations: 0 / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4514, allocations: 0 / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4514, allocations: 0.75 kB / 0.522 GB, free: 1.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004516/0.4518, allocations: 393.2 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4519, allocations: 9.094 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.4519, allocations: 12.09 kB / 0.5224 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4521, allocations: 187.6 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4521, allocations: 6.562 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4521, allocations: 6.406 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4523, allocations: 77.75 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4524, allocations: 0 / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4524, allocations: 1.125 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4524, allocations: 0 / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.4525, allocations: 40.92 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.4529, allocations: 287.1 kB / 0.523 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.453, allocations: 45.38 kB / 0.523 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.4531, allocations: 23.41 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4532, allocations: 10.02 kB / 0.5231 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.4532, allocations: 35.81 kB / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4532, allocations: 0 / 0.5231 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008315/0.454, allocations: 198.8 kB / 0.5233 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4541, allocations: 78.11 kB / 0.5234 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4542, allocations: 134.2 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.4543, allocations: 30.86 kB / 0.5235 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.4543, allocations: 92.31 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.4543, allocations: 24.97 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.4544, allocations: 20.58 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4546, allocations: 319.4 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4547, allocations: 32.92 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4548, allocations: 48.28 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4551, allocations: 68.14 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4551, allocations: 9.969 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002904/0.4554, allocations: 115.5 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4554, allocations: 5.375 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4554, allocations: 1.578 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4554, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.4556, allocations: 20.23 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4556, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.4557, allocations: 18.39 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.4557, allocations: 1.125 kB / 0.5243 GB, free: 15.54 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 (7): * Single equations (assignments): 7 * 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 9.186e-05/0.4558, allocations: 115.3 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.4558, allocations: 9.094 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.4562, allocations: 121.3 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4562, allocations: 1.469 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4562, allocations: 4 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4562, allocations: 6.391 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.4568, allocations: 381 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4568, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.474e-05/0.4569, allocations: 27.02 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4569, allocations: 0.5625 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4569, allocations: 13.25 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4569, allocations: 1.766 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.457, allocations: 3.984 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.4573, allocations: 205.7 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.4573, allocations: 79.83 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.4574, allocations: 5.344 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.4575, allocations: 12.5 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.4575, allocations: 7.031 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4575, allocations: 1.406 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.4576, allocations: 110.5 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4576, allocations: 3.938 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.4579, allocations: 23.47 kB / 0.5254 GB, free: 14.65 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.001044/0.459, allocations: 444.8 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.4593, allocations: 74.7 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4593, allocations: 0 / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4595, allocations: 49.22 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4598, allocations: 28.08 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.4603, allocations: 187.1 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4607, allocations: 0.6967 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.4607, allocations: 20.66 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.4608, allocations: 14.86 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4608, allocations: 0 / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.004624/0.4654, allocations: 1.518 MB / 0.5283 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches