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.001819/0.001819, allocations: 113.2 kB / 17.78 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.001991/0.001991, allocations: 185 kB / 18.71 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.488/1.488, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2223/0.2223, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 79.81 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3734, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003148/0.3766, allocations: 1.805 MB / 0.5203 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3781, allocations: 0.9572 MB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.3782, allocations: 1.062 kB / 0.5212 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.3789, allocations: 303.1 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.3793, allocations: 214.6 kB / 0.5217 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.3797, allocations: 171.9 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.38, allocations: 238.8 kB / 0.5221 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.3801, allocations: 10.78 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3802, allocations: 132.1 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.3805, allocations: 193.1 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3805, allocations: 6.5 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3806, allocations: 45.33 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3808, allocations: 133.4 kB / 0.5226 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3809, allocations: 152.2 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3814, allocations: 366.4 kB / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3814, allocations: 0.6094 kB / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3814, allocations: 0 / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3814, allocations: 0 / 0.5231 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.0009351/0.3824, allocations: 0.7435 MB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3824, allocations: 9.844 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3825, allocations: 37.88 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.3826, allocations: 50.36 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.3834, allocations: 462.2 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3834, allocations: 5.906 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3834, allocations: 7.625 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.3836, allocations: 91.28 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3837, allocations: 0 / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3837, allocations: 2.422 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3837, allocations: 0 / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3838, allocations: 31.27 kB / 0.5245 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.3843, allocations: 373.3 kB / 0.5248 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.3846, allocations: 112.8 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3847, allocations: 39.05 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3847, allocations: 2.078 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.385, allocations: 108.1 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.385, allocations: 1.375 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005024/0.3855, allocations: 202 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3856, allocations: 79.23 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3868, allocations: 1.035 MB / 0.5263 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3869, allocations: 27.89 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.3871, allocations: 236.4 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3872, allocations: 31.56 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.3872, allocations: 28.19 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3874, allocations: 368.5 kB / 0.527 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.3875, allocations: 27.42 kB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3876, allocations: 58.03 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3878, allocations: 94.48 kB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3879, allocations: 5.469 kB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003183/0.3882, allocations: 169.4 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3882, allocations: 9.484 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3882, allocations: 1.312 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3882, allocations: 5.469 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3884, allocations: 18.09 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3884, allocations: 5.703 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3885, allocations: 13 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3885, allocations: 3.125 kB / 0.5274 GB, free: 13.73 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.000236/0.3887, allocations: 229.1 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.3888, allocations: 54.81 kB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.819e-05/0.3889, allocations: 58.44 kB / 0.5277 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3889, allocations: 9.125 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3889, allocations: 1.469 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3889, allocations: 0 / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.3893, allocations: 344.1 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3894, allocations: 1.438 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.3894, allocations: 5.969 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3894, allocations: 1.344 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3894, allocations: 6.391 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3894, allocations: 5.125 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3894, allocations: 3.984 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3898, allocations: 208.5 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3899, allocations: 138.5 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.39, allocations: 2.219 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3901, allocations: 7.484 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3901, allocations: 11.47 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3902, allocations: 9.047 kB / 0.5284 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008604/0.391, allocations: 0.7705 MB / 0.5292 GB, free: 12.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.391, allocations: 1.469 kB / 0.5292 GB, free: 12.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3913, allocations: 43.55 kB / 0.5292 GB, free: 12.53 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.002114/0.3934, allocations: 1.056 MB / 0.5303 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.3937, allocations: 83.3 kB / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3937, allocations: 0 / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3938, allocations: 43.8 kB / 0.5304 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3943, allocations: 70.81 kB / 0.5305 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.4001, allocations: 4.52 MB / 0.5349 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.4006, allocations: 0.8443 MB / 0.5357 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.4008, allocations: 60.56 kB / 0.5358 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.401, allocations: 150.5 kB / 0.5359 GB, free: 8.176 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.401, allocations: 0 / 0.5359 GB, free: 8.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.4345, allocations: 8.941 MB / 0.5446 GB, free: 1.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.972, allocations: 2.969 kB / 0.5446 GB, free: 1.047 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