Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001542/0.001542, allocations: 117.2 kB / 17.79 MB, free: 5.254 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.001183/0.001183, allocations: 185 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.429/1.429, 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.2279/0.2279, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.379, allocations: 60.82 MB / 0.5185 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002687/0.3817, allocations: 1.791 MB / 0.5202 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3831, allocations: 0.9614 MB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.342e-05/0.3832, allocations: 1.219 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.3838, allocations: 302.9 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.3842, allocations: 210.5 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.3846, allocations: 167.4 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.3849, allocations: 240.5 kB / 0.5221 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.3849, allocations: 14.53 kB / 0.5221 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3851, allocations: 131.4 kB / 0.5222 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3854, allocations: 194 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3854, allocations: 5.375 kB / 0.5224 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3855, allocations: 45.23 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3857, allocations: 130.8 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3858, allocations: 154.4 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.3862, allocations: 363.8 kB / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3862, allocations: 0 / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3863, allocations: 0 / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3863, allocations: 0 / 0.5231 GB, free: 0.6914 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.0008652/0.3871, allocations: 0.7529 MB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3872, allocations: 8.906 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.3872, allocations: 33.56 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3873, allocations: 56.91 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.388, allocations: 453.4 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.388, allocations: 8.781 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.388, allocations: 3.797 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3883, allocations: 86.95 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3883, allocations: 4 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3883, allocations: 4.453 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3883, allocations: 4.547 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3884, allocations: 33.36 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.3889, allocations: 370.7 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3892, allocations: 110.4 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.3893, allocations: 39.52 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3894, allocations: 0 / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.3896, allocations: 113.8 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3896, allocations: 0 / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005361/0.3902, allocations: 202.8 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3902, allocations: 79.02 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3916, allocations: 1.032 MB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3916, allocations: 31.08 kB / 0.5264 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.3918, allocations: 229.9 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.3919, allocations: 42.3 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.392, allocations: 25.83 kB / 0.5267 GB, free: 14.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3922, allocations: 370.1 kB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.3923, allocations: 27.23 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3924, allocations: 59.53 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3926, allocations: 85.17 kB / 0.5272 GB, free: 13.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3926, allocations: 1.188 kB / 0.5272 GB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003258/0.3929, allocations: 174.6 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3929, allocations: 5.656 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.393, allocations: 9.516 kB / 0.5273 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.393, allocations: 1.344 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3931, allocations: 30.39 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3931, allocations: 1.375 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.3932, allocations: 8.141 kB / 0.5274 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3933, allocations: 11.97 kB / 0.5274 GB, free: 13.71 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.0002481/0.3935, allocations: 221.3 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.3936, allocations: 54.17 kB / 0.5277 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.848e-05/0.3937, allocations: 66.16 kB / 0.5277 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3937, allocations: 1.125 kB / 0.5277 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3937, allocations: 5.969 kB / 0.5277 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3937, allocations: 3.984 kB / 0.5277 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3941, allocations: 336.9 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3941, allocations: 0 / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.3942, allocations: 11 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3942, allocations: 1.344 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3942, allocations: 9.172 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3942, allocations: 1.438 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3942, allocations: 0 / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.3946, allocations: 204.4 kB / 0.5283 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3948, allocations: 138.6 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.3948, allocations: 10.38 kB / 0.5284 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.3949, allocations: 7.203 kB / 0.5284 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.395, allocations: 12.33 kB / 0.5284 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.395, allocations: 8.312 kB / 0.5284 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008907/0.3959, allocations: 0.7674 MB / 0.5292 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3959, allocations: 4 kB / 0.5292 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3962, allocations: 44.67 kB / 0.5292 GB, free: 12.52 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.002069/0.3982, allocations: 1.051 MB / 0.5303 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3985, allocations: 87.83 kB / 0.5303 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3985, allocations: 0 / 0.5303 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3987, allocations: 38.92 kB / 0.5304 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.3991, allocations: 70.78 kB / 0.5305 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.4054, allocations: 4.524 MB / 0.5349 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.4059, allocations: 0.8436 MB / 0.5357 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.4061, allocations: 62.06 kB / 0.5358 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.4063, allocations: 150 kB / 0.5359 GB, free: 8.16 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4063, allocations: 0 / 0.5359 GB, free: 8.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.4394, allocations: 8.941 MB / 0.5446 GB, free: 1.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.914, allocations: 7.031 kB / 0.5446 GB, free: 1.051 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_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_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=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