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.001387/0.001387, allocations: 113.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.001187/0.001187, allocations: 188.9 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2267/0.2267, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4604, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003563/0.4641, allocations: 1.63 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.4651, allocations: 455.7 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.4652, allocations: 1.438 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.4656, allocations: 64.02 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.4659, allocations: 48.17 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.4665, allocations: 180.6 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.4667, allocations: 85.8 kB / 0.5213 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4669, allocations: 17.19 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.4669, allocations: 36.7 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.4671, allocations: 46.08 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.4671, allocations: 4 kB / 0.5214 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.4673, allocations: 46.42 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.4674, allocations: 26.5 kB / 0.5215 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.4674, allocations: 30.33 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.4677, allocations: 104.9 kB / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4677, allocations: 0 / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4677, allocations: 0 / 0.5216 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.4678, allocations: 0 / 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.0007618/0.4685, allocations: 414.8 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.4686, allocations: 8.594 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.4686, allocations: 14.14 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4689, allocations: 205.2 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4689, allocations: 1.594 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.469, allocations: 10.97 kB / 0.5222 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.4692, allocations: 61.97 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.4692, allocations: 1.75 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4692, allocations: 4 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.4693, allocations: 5 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4694, allocations: 46.7 kB / 0.5224 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.47, allocations: 314.5 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.4703, allocations: 63.91 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.4704, allocations: 27.58 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.4704, allocations: 0 / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4705, allocations: 32.48 kB / 0.5228 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.365e-06/0.4705, allocations: 3.984 kB / 0.5228 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00172/0.4722, allocations: 429.7 kB / 0.5232 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.4722, allocations: 56.72 kB / 0.5232 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4725, allocations: 178 kB / 0.5234 GB, free: 484 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4725, allocations: 26.7 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.4726, allocations: 99.95 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.4726, allocations: 38.67 kB / 0.5236 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.4727, allocations: 27.81 kB / 0.5236 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4729, allocations: 330.5 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4731, allocations: 51.22 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4732, allocations: 55.73 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4736, allocations: 120.1 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.4736, allocations: 0 / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004101/0.474, allocations: 168.7 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.474, allocations: 9.703 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.474, allocations: 3.938 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.4741, allocations: 0 / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4742, allocations: 30.03 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4742, allocations: 0.5625 kB / 0.5243 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.4743, allocations: 17.72 kB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4743, allocations: 3.562 kB / 0.5244 GB, free: 15.81 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.0001533/0.4745, allocations: 127.7 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4745, allocations: 9.984 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.475, allocations: 191.7 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.475, allocations: 0.7031 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.475, allocations: 11.94 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.475, allocations: 0.6094 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008541/0.4759, allocations: 0.4913 MB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4759, allocations: 3.938 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.476, allocations: 29.89 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.476, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.4761, allocations: 3.453 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4761, allocations: 0 / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4761, allocations: 1.375 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.4765, allocations: 287.7 kB / 0.5255 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.4766, allocations: 84.52 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4766, allocations: 1.891 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.4767, allocations: 10.48 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.4768, allocations: 12.2 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4768, allocations: 3.234 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.477, allocations: 140.5 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.477, allocations: 4 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.4773, allocations: 23.81 kB / 0.5257 GB, free: 14.78 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.001211/0.4785, allocations: 449.7 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.4789, allocations: 131.3 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4789, allocations: 3.938 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.4791, allocations: 70.08 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.0004822/0.4796, allocations: 16.02 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.0007179/0.4803, allocations: 301.1 kB / 0.5267 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.4807, allocations: 0.7184 MB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.4809, allocations: 33.44 kB / 0.5274 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4809, allocations: 15.45 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4809, allocations: 1.469 kB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of Templates: time 0.005768/0.4867, allocations: 1.646 MB / 0.529 GB, free: 12.84 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