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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.00117/0.00117, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001472/0.001472, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2218/0.2218, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4642, allocations: 60.83 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003241/0.4675, allocations: 1.783 MB / 0.5202 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4693, allocations: 0.9683 MB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4694, allocations: 1.188 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.4702, allocations: 294 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.4708, allocations: 215 kB / 0.5217 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.4713, allocations: 167.9 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.4718, allocations: 237.9 kB / 0.5221 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.4718, allocations: 10.19 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.4721, allocations: 131.9 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.4724, allocations: 186.9 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.4725, allocations: 5.75 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.4726, allocations: 50.02 kB / 0.5224 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.4728, allocations: 128.4 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.473, allocations: 146.3 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.4736, allocations: 365.5 kB / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4736, allocations: 1.156 kB / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4736, allocations: 0 / 0.523 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4736, allocations: 0 / 0.523 GB, free: 0.6953 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.0008969/0.4745, allocations: 0.733 MB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4746, allocations: 14.03 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.4746, allocations: 33.64 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.4747, allocations: 48.8 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.4754, allocations: 451.6 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4754, allocations: 6.891 kB / 0.5243 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4754, allocations: 10.12 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4757, allocations: 87.16 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4757, allocations: 0 / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.4757, allocations: 5.766 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4757, allocations: 1.188 kB / 0.5244 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4759, allocations: 30.67 kB / 0.5244 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.4763, allocations: 368.2 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.4766, allocations: 109.4 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.4768, allocations: 43.28 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4768, allocations: 1.375 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.4771, allocations: 108.9 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4771, allocations: 0 / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005721/0.4777, allocations: 201.7 kB / 0.5252 GB, free: 15.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.4777, allocations: 80.39 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4791, allocations: 1.006 MB / 0.5263 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4791, allocations: 27.08 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.4794, allocations: 231.2 kB / 0.5265 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.4794, allocations: 28.39 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.4795, allocations: 27.8 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4797, allocations: 373 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.4798, allocations: 27.77 kB / 0.5269 GB, free: 14.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4799, allocations: 56.44 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4801, allocations: 92.39 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4801, allocations: 11.94 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.4804, allocations: 161.9 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4804, allocations: 6.438 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4804, allocations: 0 / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4805, allocations: 6.531 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4806, allocations: 25.17 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4806, allocations: 5.094 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.4807, allocations: 13.06 kB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4807, allocations: 8.812 kB / 0.5273 GB, free: 13.77 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.0002213/0.481, allocations: 217.5 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.481, allocations: 50.8 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.075e-05/0.4811, allocations: 57.12 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4811, allocations: 5.156 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4812, allocations: 5.234 kB / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4812, allocations: 0 / 0.5276 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.4815, allocations: 343.3 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4815, allocations: 3.984 kB / 0.528 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.4816, allocations: 11.03 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4816, allocations: 0 / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4816, allocations: 6.141 kB / 0.528 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4816, allocations: 4.906 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4816, allocations: 1 kB / 0.528 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.482, allocations: 200.1 kB / 0.5282 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.4821, allocations: 141.7 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.4822, allocations: 6.156 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.4823, allocations: 7.172 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.4823, allocations: 16.08 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4824, allocations: 5 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009383/0.4833, allocations: 0.746 MB / 0.5291 GB, free: 12.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4833, allocations: 1.125 kB / 0.5291 GB, free: 12.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.4836, allocations: 38.62 kB / 0.5291 GB, free: 12.59 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.001581/0.4852, allocations: 1.062 MB / 0.5301 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.4855, allocations: 74.31 kB / 0.5302 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4855, allocations: 1.406 kB / 0.5302 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4856, allocations: 50.44 kB / 0.5303 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.4861, allocations: 65.09 kB / 0.5303 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.492, allocations: 4.411 MB / 0.5346 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.4925, allocations: 0.8444 MB / 0.5355 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.4927, allocations: 57.41 kB / 0.5355 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.4929, allocations: 145.8 kB / 0.5357 GB, free: 8.297 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4929, allocations: 0 / 0.5357 GB, free: 8.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.5232, allocations: 8.792 MB / 0.5442 GB, free: 1.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.768, allocations: 7.016 kB / 0.5442 GB, free: 1.496 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_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_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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