Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001547/0.001548, allocations: 185 kB / 18.71 MB, free: 4.32 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.496/1.496, 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.2241/0.2241, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.83 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4427, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002622/0.4453, allocations: 1.63 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007028/0.4461, allocations: 421.2 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.4461, allocations: 1.156 kB / 0.5209 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.4464, allocations: 101.4 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.4466, allocations: 71.75 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.4469, allocations: 109 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.4471, allocations: 93.55 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4472, allocations: 28.42 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.4473, allocations: 46.48 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.4474, allocations: 57.66 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4474, allocations: 4.469 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.4475, allocations: 45.16 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.4476, allocations: 30.25 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.4476, allocations: 42.22 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.4478, allocations: 127.9 kB / 0.5216 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4478, allocations: 4 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4478, allocations: 1.094 kB / 0.5216 GB, free: 1.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4478, allocations: 0 / 0.5216 GB, free: 1.914 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004076/0.4482, allocations: 418.6 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4483, allocations: 10.64 kB / 0.5221 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.4483, allocations: 18.19 kB / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.4485, allocations: 210.1 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.4485, allocations: 6.625 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4486, allocations: 4.812 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4487, allocations: 81.66 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4487, allocations: 1.062 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4488, allocations: 5.125 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4488, allocations: 1.094 kB / 0.5224 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4489, allocations: 41.94 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.4493, allocations: 347.7 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4494, allocations: 69.95 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.4495, allocations: 24.84 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4495, allocations: 4.938 kB / 0.5228 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.4495, allocations: 44.39 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4495, allocations: 0 / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.4505, allocations: 327.3 kB / 0.5232 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.4506, allocations: 53.19 kB / 0.5232 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.4508, allocations: 232.9 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4508, allocations: 27.41 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4508, allocations: 115.8 kB / 0.5236 GB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.4509, allocations: 43.61 kB / 0.5236 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.4509, allocations: 28.89 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.451, allocations: 328.2 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4511, allocations: 44.22 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4512, allocations: 48.17 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.4514, allocations: 104.1 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4514, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002831/0.4517, allocations: 160.1 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4518, allocations: 4.281 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4518, allocations: 1.375 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4518, allocations: 4.594 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4519, allocations: 29.53 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4519, allocations: 1.219 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.452, allocations: 9.156 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.452, allocations: 3.25 kB / 0.5244 GB, free: 15.79 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 (13): * Single equations (assignments): 13 * 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.0001021/0.4521, allocations: 136.1 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.4521, allocations: 13.88 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.4525, allocations: 193.1 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4525, allocations: 2.344 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4526, allocations: 0 / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4526, allocations: 6.391 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.4533, allocations: 0.4895 MB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.4533, allocations: 7.5 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.4534, allocations: 25.2 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4534, allocations: 5.406 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4534, allocations: 7.406 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4534, allocations: 1.984 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4534, allocations: 0 / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.4538, allocations: 259.4 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.4538, allocations: 84.42 kB / 0.5256 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4539, allocations: 6.078 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.4539, allocations: 9.953 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.454, allocations: 8.594 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.454, allocations: 3.312 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.4542, allocations: 172.6 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4542, allocations: 3.938 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.4544, allocations: 28.5 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001042/0.4555, allocations: 450.5 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.4558, allocations: 116.7 kB / 0.5263 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4558, allocations: 4.875 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.456, allocations: 65.31 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4563, allocations: 21.53 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.457, allocations: 314.5 kB / 0.5267 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.4573, allocations: 0.7194 MB / 0.5274 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.445e-05/0.4574, allocations: 31.09 kB / 0.5274 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.4574, allocations: 20.77 kB / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4575, allocations: 0 / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of Templates: time 0.00429/0.4618, allocations: 1.612 MB / 0.529 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches