Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001276/0.001276, allocations: 185 kB / 18.71 MB, free: 4.34 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.447/1.447, 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.2595/0.2595, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4587, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002868/0.4617, allocations: 1.56 MB / 0.5204 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.4631, allocations: 1.025 MB / 0.5215 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.4632, allocations: 3.938 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.4634, allocations: 24.25 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.4636, allocations: 41.45 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.4639, allocations: 111.5 kB / 0.5216 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.4641, allocations: 60.8 kB / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4642, allocations: 11.81 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.4642, allocations: 18.53 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.4644, allocations: 33.95 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.4644, allocations: 8.125 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4645, allocations: 48.69 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.4646, allocations: 14.11 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.4646, allocations: 21.39 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4648, allocations: 90.53 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4649, allocations: 0.7969 kB / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4649, allocations: 0 / 0.5219 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.4649, allocations: 0 / 0.5219 GB, free: 1.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004462/0.4653, allocations: 370.3 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4654, allocations: 9.656 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.4654, allocations: 20.25 kB / 0.5223 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.4656, allocations: 188.6 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.4656, allocations: 1.406 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4656, allocations: 1.406 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.4658, allocations: 70.78 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4658, allocations: 0 / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4658, allocations: 2.047 kB / 0.5226 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4658, allocations: 1.094 kB / 0.5226 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.4659, allocations: 27.17 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.4663, allocations: 274.5 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4665, allocations: 51.31 kB / 0.5229 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/0.4666, allocations: 13.58 kB / 0.5229 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.4666, allocations: 6.172 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4666, allocations: 35.27 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4666, allocations: 1.219 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000544/0.4672, allocations: 144.8 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4672, allocations: 78.81 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4673, allocations: 132.2 kB / 0.5233 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4673, allocations: 29.7 kB / 0.5233 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.4674, allocations: 93.53 kB / 0.5234 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.4674, allocations: 19.31 kB / 0.5234 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.4674, allocations: 15.7 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4675, allocations: 322.8 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.4676, allocations: 20.14 kB / 0.5238 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.4677, allocations: 37.72 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4679, allocations: 55.81 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4679, allocations: 0 / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.4681, allocations: 85.83 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4681, allocations: 4.5 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4681, allocations: 5.172 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4681, allocations: 0.9531 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.4682, allocations: 20.39 kB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4682, allocations: 5.156 kB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.4683, allocations: 8.812 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.4683, allocations: 5.062 kB / 0.524 GB, free: 15.68 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 (5): * Single equations (assignments): 5 * 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 8.887e-05/0.4684, allocations: 123.7 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4684, allocations: 7.734 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.4687, allocations: 92.17 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4687, allocations: 5.344 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4687, allocations: 0.75 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4687, allocations: 1.438 kB / 0.5242 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.4691, allocations: 353.3 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4691, allocations: 0 / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.4692, allocations: 13.02 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4692, allocations: 0.6562 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4692, allocations: 5.25 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4692, allocations: 7.938 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4692, allocations: 0.6562 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.4695, allocations: 181 kB / 0.5247 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.4695, allocations: 80.27 kB / 0.5248 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4696, allocations: 0.6094 kB / 0.5248 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.4696, allocations: 9.672 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4697, allocations: 15.66 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4697, allocations: 2.219 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.4698, allocations: 106.3 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4698, allocations: 1.094 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4701, allocations: 19.84 kB / 0.525 GB, free: 14.8 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 (5): * Single equations (assignments): 5 * 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.001075/0.4712, allocations: 445.8 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4714, allocations: 48.75 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4714, allocations: 0 / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.4715, allocations: 33.06 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4718, allocations: 17.2 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.4723, allocations: 175.3 kB / 0.5256 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4727, allocations: 0.6932 MB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.4728, allocations: 16.7 kB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.4728, allocations: 14.77 kB / 0.5264 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4729, allocations: 0 / 0.5264 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.004602/0.4775, allocations: 1.375 MB / 0.5277 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches