Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001108/0.001108, allocations: 113.8 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.001247/0.001247, allocations: 179.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.412/1.412, 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.229/0.229, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4565, allocations: 60.82 MB / 0.5185 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.005266/0.4618, allocations: 1.802 MB / 0.5202 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.4641, allocations: 0.953 MB / 0.5212 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.4643, allocations: 1.188 kB / 0.5212 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.4652, allocations: 307 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006139/0.4658, allocations: 219.1 kB / 0.5217 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.4665, allocations: 171.4 kB / 0.5218 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.467, allocations: 243.9 kB / 0.5221 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.305e-05/0.4671, allocations: 10.02 kB / 0.5221 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.4674, allocations: 137.9 kB / 0.5222 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.4678, allocations: 186.2 kB / 0.5224 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.4678, allocations: 7.219 kB / 0.5224 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.468, allocations: 44.25 kB / 0.5224 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.4682, allocations: 134.9 kB / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4684, allocations: 150 kB / 0.5227 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.4691, allocations: 366.7 kB / 0.5231 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4691, allocations: 5.406 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4691, allocations: 0 / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.4691, allocations: 0 / 0.5231 GB, free: 0.582 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.001184/0.4703, allocations: 0.7398 MB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4704, allocations: 10.5 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.4704, allocations: 33.39 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4706, allocations: 51.61 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.4715, allocations: 468.6 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4715, allocations: 2.125 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4715, allocations: 7.438 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.4718, allocations: 90.19 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4719, allocations: 5.188 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4719, allocations: 0.5625 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4719, allocations: 1.953 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.4721, allocations: 33.66 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.4728, allocations: 373.3 kB / 0.5248 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.4732, allocations: 106 kB / 0.5249 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4733, allocations: 42.38 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4734, allocations: 2.094 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.4737, allocations: 109.8 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.4737, allocations: 0 / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007434/0.4745, allocations: 210.4 kB / 0.5253 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.4746, allocations: 78.88 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.4765, allocations: 1.032 MB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.4766, allocations: 31.41 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.4769, allocations: 232.8 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.477, allocations: 31.11 kB / 0.5266 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.4771, allocations: 28.42 kB / 0.5267 GB, free: 14.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.4774, allocations: 370.2 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.4775, allocations: 28.58 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4777, allocations: 56.06 kB / 0.5271 GB, free: 13.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.478, allocations: 87.91 kB / 0.5272 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.478, allocations: 7.938 kB / 0.5272 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004842/0.4785, allocations: 175.3 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4786, allocations: 5.562 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4786, allocations: 0 / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4786, allocations: 2.719 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.4788, allocations: 20.98 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4788, allocations: 2.812 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.479, allocations: 12.31 kB / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.479, allocations: 11.67 kB / 0.5274 GB, free: 13.64 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.0003135/0.4793, allocations: 220.9 kB / 0.5276 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.4794, allocations: 54.97 kB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.4796, allocations: 61.59 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4796, allocations: 5.438 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4796, allocations: 5.391 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4796, allocations: 0 / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.4801, allocations: 345 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4801, allocations: 1.281 kB / 0.5281 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.4802, allocations: 13.98 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4802, allocations: 1.281 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.4802, allocations: 2.188 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4802, allocations: 0 / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4802, allocations: 5.359 kB / 0.5281 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.4807, allocations: 203.7 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.4809, allocations: 134.8 kB / 0.5284 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.481, allocations: 14.8 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4811, allocations: 2.906 kB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.4812, allocations: 7.578 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.4812, allocations: 9.125 kB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.4826, allocations: 0.7713 MB / 0.5292 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4826, allocations: 96 / 0.5292 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.4831, allocations: 43.94 kB / 0.5292 GB, free: 12.45 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.00202/0.4851, allocations: 1.057 MB / 0.5303 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.4855, allocations: 79.47 kB / 0.5303 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4855, allocations: 3.938 kB / 0.5304 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.4856, allocations: 44.45 kB / 0.5304 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.4863, allocations: 69.92 kB / 0.5305 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.495, allocations: 4.517 MB / 0.5349 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006893/0.4958, allocations: 0.851 MB / 0.5357 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.496, allocations: 57.7 kB / 0.5358 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4963, allocations: 154.3 kB / 0.5359 GB, free: 8.082 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4964, allocations: 0 / 0.5359 GB, free: 8.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.5332, allocations: 8.947 MB / 0.5446 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.799, allocations: 3.938 kB / 0.5446 GB, free: 0.9805 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_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_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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