Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108.8 kB / 17.77 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.001799/0.001799, allocations: 184.1 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.396/1.396, 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.2419/0.2419, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4066, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002877/0.4095, allocations: 1.8 MB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.411, allocations: 0.9604 MB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.4111, allocations: 5 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.4117, allocations: 303.6 kB / 0.5215 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.4121, allocations: 210 kB / 0.5217 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.4126, allocations: 174.9 kB / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.4129, allocations: 245.9 kB / 0.5221 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.413, allocations: 9.141 kB / 0.5221 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.4132, allocations: 134.3 kB / 0.5222 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.4135, allocations: 185.8 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.4135, allocations: 6.469 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.4136, allocations: 48.14 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.4138, allocations: 138.7 kB / 0.5226 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4139, allocations: 151.2 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.4143, allocations: 367 kB / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4143, allocations: 0 / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4144, allocations: 1.156 kB / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4144, allocations: 0 / 0.5231 GB, free: 0.7109 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.0008869/0.4153, allocations: 0.7444 MB / 0.5238 GB, free: 92 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4153, allocations: 13.62 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.4153, allocations: 36.77 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.4154, allocations: 51.2 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.4161, allocations: 458.5 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4162, allocations: 2.766 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.4162, allocations: 5.812 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.4164, allocations: 88.67 kB / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4164, allocations: 0 / 0.5244 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4165, allocations: 4 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4165, allocations: 1.781 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4166, allocations: 29 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.417, allocations: 378.1 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.4173, allocations: 113.2 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.4174, allocations: 39.52 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4175, allocations: 1.375 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.4177, allocations: 109.8 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4177, allocations: 0 / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005041/0.4182, allocations: 205.8 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.4183, allocations: 79.05 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.4195, allocations: 1.037 MB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4196, allocations: 27.2 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4197, allocations: 232.8 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.4198, allocations: 26.55 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.4199, allocations: 32.64 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.42, allocations: 369.3 kB / 0.527 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.4201, allocations: 27.11 kB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.29e-05/0.4202, allocations: 54.67 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.4204, allocations: 93.72 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4204, allocations: 5.312 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003054/0.4207, allocations: 170.2 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4208, allocations: 5.75 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4208, allocations: 1.156 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4208, allocations: 1.375 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4209, allocations: 21.33 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4209, allocations: 6.938 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.421, allocations: 16.77 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4211, allocations: 7.75 kB / 0.5274 GB, free: 13.75 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.0002171/0.4213, allocations: 229.3 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.4214, allocations: 52.97 kB / 0.5277 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.4215, allocations: 58.78 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4215, allocations: 2.594 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4215, allocations: 4 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.4215, allocations: 9.328 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.4219, allocations: 347.9 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4219, allocations: 0 / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.4219, allocations: 7.688 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4219, allocations: 0 / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4219, allocations: 2.312 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.422, allocations: 1.344 kB / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.422, allocations: 0 / 0.5281 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.4223, allocations: 212.9 kB / 0.5283 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.4225, allocations: 138.9 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.4225, allocations: 1.375 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.4226, allocations: 3.469 kB / 0.5284 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.4227, allocations: 12.95 kB / 0.5284 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4227, allocations: 4.344 kB / 0.5284 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008814/0.4236, allocations: 0.7748 MB / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4236, allocations: 0 / 0.5292 GB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.4239, allocations: 44.66 kB / 0.5292 GB, free: 12.55 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.001468/0.4254, allocations: 1.055 MB / 0.5303 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.4257, allocations: 86.92 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4257, allocations: 0 / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.4258, allocations: 39.27 kB / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.4263, allocations: 76.12 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.4319, allocations: 4.521 MB / 0.5349 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.4324, allocations: 0.852 MB / 0.5357 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.4325, allocations: 57.58 kB / 0.5358 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.4327, allocations: 141.8 kB / 0.5359 GB, free: 8.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4327, allocations: 0 / 0.5359 GB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.4612, allocations: 8.948 MB / 0.5446 GB, free: 1.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.63, allocations: 4 kB / 0.5446 GB, free: 1.082 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime