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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.001478/0.001478, allocations: 114.5 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.002109/0.002109, allocations: 187.7 kB / 18.72 MB, free: 4.332 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.36/1.36, 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.2043/0.2043, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4452, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004652/0.4499, allocations: 1.801 MB / 0.5202 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.4524, allocations: 0.9603 MB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.4526, allocations: 1.531 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.4535, allocations: 290 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.4541, allocations: 214.6 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.4548, allocations: 171.8 kB / 0.5218 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.4553, allocations: 243.6 kB / 0.5221 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.4554, allocations: 9.203 kB / 0.5221 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.4556, allocations: 128.5 kB / 0.5222 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.456, allocations: 188.9 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.456, allocations: 6.625 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.4562, allocations: 45.94 kB / 0.5224 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.4564, allocations: 132.7 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4566, allocations: 142.3 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006434/0.4573, allocations: 365.6 kB / 0.523 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4573, allocations: 1.25 kB / 0.523 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4573, allocations: 0 / 0.523 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.4573, allocations: 0 / 0.523 GB, free: 0.6875 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.001234/0.4586, allocations: 0.7367 MB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.4586, allocations: 10.41 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.4587, allocations: 36.06 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.4588, allocations: 50.62 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4598, allocations: 451.1 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4599, allocations: 1.625 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4599, allocations: 7.375 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.4602, allocations: 86.42 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4603, allocations: 1.062 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4603, allocations: 0.6562 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4603, allocations: 1.281 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4605, allocations: 33.62 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/0.4612, allocations: 372.9 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.4616, allocations: 106.5 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4617, allocations: 43.02 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.4618, allocations: 4.953 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.4621, allocations: 110.4 kB / 0.525 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.4621, allocations: 0 / 0.525 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007252/0.4629, allocations: 198.3 kB / 0.5252 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.4629, allocations: 79.94 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.4648, allocations: 1.005 MB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.4648, allocations: 27.55 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.4652, allocations: 239.5 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.4653, allocations: 27.09 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.4653, allocations: 32.06 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.4656, allocations: 367.4 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.4658, allocations: 26.61 kB / 0.5269 GB, free: 13.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.466, allocations: 59.38 kB / 0.527 GB, free: 13.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.4663, allocations: 89.45 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.4663, allocations: 5.125 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004999/0.4668, allocations: 165.9 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.4669, allocations: 5.656 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4669, allocations: 5.375 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.4669, allocations: 5.688 kB / 0.5273 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.4671, allocations: 26.17 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4672, allocations: 1.75 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4673, allocations: 16.08 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4674, allocations: 4.188 kB / 0.5273 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.0004121/0.4678, allocations: 222.8 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4679, allocations: 49.23 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.4681, allocations: 58.06 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4681, allocations: 5.031 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.4681, allocations: 1.438 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4681, allocations: 3.984 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.4687, allocations: 338 kB / 0.528 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4687, allocations: 5.484 kB / 0.528 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.4688, allocations: 9.656 kB / 0.528 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4688, allocations: 1.188 kB / 0.528 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.4689, allocations: 6.125 kB / 0.528 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4689, allocations: 1 kB / 0.528 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4689, allocations: 1.125 kB / 0.528 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.4694, allocations: 208.6 kB / 0.5282 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.4696, allocations: 137.7 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.4697, allocations: 5.469 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4699, allocations: 3.125 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.4699, allocations: 7.922 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.47, allocations: 4.438 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.4713, allocations: 0.7542 MB / 0.5291 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4714, allocations: 1.25 kB / 0.5291 GB, free: 12.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.4719, allocations: 47.23 kB / 0.5291 GB, free: 12.56 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.00227/0.4741, allocations: 1.044 MB / 0.5301 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.4745, allocations: 83.64 kB / 0.5302 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4746, allocations: 3.938 kB / 0.5302 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.4747, allocations: 43.17 kB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.4754, allocations: 70.84 kB / 0.5303 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009006/0.4844, allocations: 4.42 MB / 0.5346 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.4852, allocations: 0.841 MB / 0.5355 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.4854, allocations: 48.53 kB / 0.5355 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/0.4858, allocations: 150.3 kB / 0.5357 GB, free: 8.266 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4858, allocations: 0 / 0.5357 GB, free: 8.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.5247, allocations: 8.778 MB / 0.5442 GB, free: 1.441 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.625, allocations: 7.188 kB / 0.5442 GB, free: 1.438 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_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_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=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