Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, 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.001899/0.001899, 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.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.235/0.235, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.14 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4965, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003607/0.5002, allocations: 1.807 MB / 0.5207 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.502, allocations: 0.9619 MB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.5021, allocations: 1.125 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.5029, allocations: 294.2 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.5034, allocations: 210.9 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.5038, allocations: 167.8 kB / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.5042, allocations: 242.2 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.5043, allocations: 10.73 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.5045, allocations: 135.5 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.5047, allocations: 182.1 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.5048, allocations: 6.406 kB / 0.5229 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.5049, allocations: 48.36 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.5051, allocations: 129.7 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.5052, allocations: 142.5 kB / 0.5232 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.5057, allocations: 359 kB / 0.5235 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5057, allocations: 4 kB / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5057, allocations: 0 / 0.5235 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5057, 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.0009618/0.5067, allocations: 0.7151 MB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5068, allocations: 8.953 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.5069, allocations: 54.62 kB / 0.5243 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.5074, allocations: 436.3 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5074, allocations: 4.109 kB / 0.5247 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.5074, allocations: 10.88 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.5077, allocations: 86.61 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5077, allocations: 0 / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5077, allocations: 10.06 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5077, allocations: 1.375 kB / 0.5248 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5078, allocations: 25.08 kB / 0.5248 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.5084, allocations: 377.3 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.5088, allocations: 106.5 kB / 0.5253 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.5089, allocations: 43.14 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.509, allocations: 7.938 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.5092, allocations: 106.4 kB / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.5092, allocations: 0 / 0.5254 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005277/0.5098, allocations: 204.1 kB / 0.5256 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.5099, allocations: 78.39 kB / 0.5257 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.5112, allocations: 1.011 MB / 0.5267 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.5112, allocations: 27.36 kB / 0.5267 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.5114, allocations: 228.2 kB / 0.5269 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.5115, allocations: 25.25 kB / 0.527 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.5115, allocations: 30.36 kB / 0.527 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.5118, allocations: 364.3 kB / 0.5273 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-05/0.5119, allocations: 28.14 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.512, allocations: 62.12 kB / 0.5274 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.5122, allocations: 85.89 kB / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5123, allocations: 1.5 kB / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004106/0.5127, allocations: 173.1 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5127, allocations: 12.39 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5127, allocations: 1.219 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5127, allocations: 1.219 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5129, allocations: 22.12 kB / 0.5277 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5129, allocations: 9.859 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.513, allocations: 8.875 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.513, allocations: 3.688 kB / 0.5277 GB, free: 14.02 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.0002844/0.5133, allocations: 231.9 kB / 0.5279 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.5134, allocations: 48.09 kB / 0.528 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.5135, allocations: 57.25 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5135, allocations: 5.688 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5135, allocations: 1.062 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5135, allocations: 1.188 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.514, allocations: 338.2 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.514, allocations: 0 / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.5141, allocations: 10.7 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5141, allocations: 1.281 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5141, allocations: 2.312 kB / 0.5284 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5141, allocations: 4.938 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5141, allocations: 1.156 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.5146, allocations: 207.1 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.5147, allocations: 130 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.5148, allocations: 9.141 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.5149, allocations: 3.656 kB / 0.5287 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.5149, allocations: 16.02 kB / 0.5287 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.5149, allocations: 9.156 kB / 0.5287 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.5161, allocations: 0.7458 MB / 0.5295 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5161, allocations: 0 / 0.5295 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.5164, allocations: 39.94 kB / 0.5295 GB, free: 12.84 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.00116/0.5176, allocations: 425 kB / 0.5299 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.5179, allocations: 82.25 kB / 0.53 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.518, allocations: 0 / 0.53 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5181, allocations: 39.98 kB / 0.53 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.5186, allocations: 77.02 kB / 0.5301 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5205, allocations: 0.8368 MB / 0.5309 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.5212, allocations: 0.8453 MB / 0.5318 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.5213, allocations: 49.22 kB / 0.5318 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.5214, allocations: 29.55 kB / 0.5318 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5214, allocations: 1.438 kB / 0.5318 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Templates: time 0.01047/0.5319, allocations: 3.703 MB / 0.5354 GB, free: 9.512 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches