Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 108.8 kB / 17.78 MB, free: 5.27 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.001163/0.001163, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.515/1.515, 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.2348/0.2348, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4941, allocations: 60.83 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003342/0.4975, allocations: 1.796 MB / 0.5207 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.4993, allocations: 0.9645 MB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.4994, allocations: 1.094 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008807/0.5003, allocations: 295.3 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.5009, allocations: 210.1 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.5014, allocations: 167.6 kB / 0.5223 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.5019, allocations: 242.7 kB / 0.5225 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.502, allocations: 10.12 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.5023, allocations: 139.7 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.5027, allocations: 181.8 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.5027, allocations: 6.406 kB / 0.5229 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.5029, allocations: 49.03 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.5031, allocations: 129.3 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.5033, allocations: 145.5 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.5038, allocations: 360 kB / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5038, allocations: 0 / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5038, allocations: 0 / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.5038, allocations: 0 / 0.5235 GB, free: 1.027 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009932/0.5048, allocations: 0.7202 MB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5049, allocations: 12.91 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.873e-05/0.505, allocations: 48.86 kB / 0.5243 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/0.5056, allocations: 442.1 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5057, allocations: 3.125 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5057, allocations: 7.672 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.5059, allocations: 90.28 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.506, allocations: 0.75 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.506, allocations: 0 / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.506, allocations: 1.375 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.5061, allocations: 30.83 kB / 0.5248 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.5067, allocations: 372.8 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.507, allocations: 106.1 kB / 0.5253 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.5071, allocations: 43.12 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5072, allocations: 0.6562 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.5074, allocations: 117.7 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5074, allocations: 0 / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000531/0.508, allocations: 197.4 kB / 0.5256 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.508, allocations: 78.81 kB / 0.5257 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5093, allocations: 1.006 MB / 0.5267 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5093, allocations: 31.39 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.5095, allocations: 230.1 kB / 0.5269 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.5095, allocations: 27.48 kB / 0.5269 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.5096, allocations: 30.7 kB / 0.527 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5098, allocations: 365.1 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.5099, allocations: 28.02 kB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.51, allocations: 53.23 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.5102, allocations: 95.38 kB / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5102, allocations: 0 / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003231/0.5105, allocations: 170.5 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5106, allocations: 4.812 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5106, allocations: 1.375 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5106, allocations: 5.375 kB / 0.5277 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.5107, allocations: 26.02 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5107, allocations: 2.344 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.5109, allocations: 19.86 kB / 0.5277 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.5109, allocations: 4.188 kB / 0.5277 GB, free: 14.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002329/0.5111, allocations: 218.3 kB / 0.5279 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.5112, allocations: 53.12 kB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.5113, allocations: 62.12 kB / 0.528 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5113, allocations: 1.125 kB / 0.528 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5113, allocations: 5.094 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5113, allocations: 5.016 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.5117, allocations: 333.6 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5117, allocations: 4.672 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.5118, allocations: 7.375 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5118, allocations: 1.094 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.5118, allocations: 9.141 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5118, allocations: 2.031 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5118, allocations: 0 / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.5122, allocations: 203.9 kB / 0.5286 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5123, allocations: 133.8 kB / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.5124, allocations: 6.219 kB / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.5124, allocations: 7.234 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.5125, allocations: 11.73 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.5125, allocations: 3.969 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009005/0.5134, allocations: 0.7552 MB / 0.5295 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5134, allocations: 0 / 0.5295 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.5137, allocations: 39.53 kB / 0.5295 GB, free: 12.85 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00108/0.5148, allocations: 418.9 kB / 0.5299 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.5151, allocations: 82.95 kB / 0.53 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5152, allocations: 0 / 0.53 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5153, allocations: 39.7 kB / 0.53 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.5158, allocations: 79.84 kB / 0.5301 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.5172, allocations: 0.8364 MB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.5178, allocations: 0.8343 MB / 0.5317 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.518, allocations: 61.08 kB / 0.5318 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.5181, allocations: 33.14 kB / 0.5318 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5181, allocations: 1.062 kB / 0.5318 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Templates: time 0.01237/0.5305, allocations: 3.7 MB / 0.5354 GB, free: 9.527 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches