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.001168/0.001168, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001318/0.001318, 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2165/0.2165, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 71.83 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003235/0.3538, allocations: 1.792 MB / 0.5202 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3554, allocations: 0.9641 MB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3556, allocations: 1.25 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.3562, allocations: 307.1 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.3567, allocations: 214.5 kB / 0.5217 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.3571, allocations: 163.7 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.3575, allocations: 245.5 kB / 0.5221 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.3576, allocations: 9.094 kB / 0.5221 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3578, allocations: 138.9 kB / 0.5222 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.358, allocations: 186.8 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3581, allocations: 5.969 kB / 0.5224 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3582, allocations: 52 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.3584, allocations: 130.7 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3585, allocations: 146.2 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.359, allocations: 370.3 kB / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.359, allocations: 5.75 kB / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.359, allocations: 0 / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3591, allocations: 0 / 0.5231 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.0009195/0.36, allocations: 0.7439 MB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.36, allocations: 9.75 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.3601, allocations: 42.27 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.3602, allocations: 52.36 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.3609, allocations: 457.9 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3609, allocations: 7.734 kB / 0.5243 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3609, allocations: 4.438 kB / 0.5243 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3612, allocations: 87.66 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3612, allocations: 0 / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3612, allocations: 3.938 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3612, allocations: 6.828 kB / 0.5244 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3613, allocations: 30.48 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.3618, allocations: 375 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3621, allocations: 106.5 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.3622, allocations: 39.14 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3622, allocations: 0 / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3625, allocations: 109.8 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3625, allocations: 4 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005109/0.363, allocations: 203.3 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.3631, allocations: 79.11 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.3644, allocations: 1.032 MB / 0.5264 GB, free: 14.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3644, allocations: 31.97 kB / 0.5264 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.3646, allocations: 227.6 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.3647, allocations: 35.36 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.3648, allocations: 28.73 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.365, allocations: 373.7 kB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.3651, allocations: 27.11 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.3652, allocations: 58.61 kB / 0.5271 GB, free: 13.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3654, allocations: 86.75 kB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3654, allocations: 0 / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000382/0.3658, allocations: 175.6 kB / 0.5273 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3659, allocations: 5.031 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3659, allocations: 5.406 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3659, allocations: 5.312 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3661, allocations: 21.64 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3661, allocations: 1.219 kB / 0.5274 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3662, allocations: 17.12 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3662, allocations: 12.25 kB / 0.5274 GB, free: 13.72 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.0003088/0.3666, allocations: 216.9 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.3667, allocations: 53.41 kB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3668, allocations: 67.03 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3668, allocations: 1.094 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3668, allocations: 0.9062 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.3668, allocations: 1.312 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3673, allocations: 344.9 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3674, allocations: 3.984 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.3674, allocations: 10.11 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3674, allocations: 1.281 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3674, allocations: 6.469 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3675, allocations: 1.312 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3675, allocations: 3.938 kB / 0.5281 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.3679, allocations: 204 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3681, allocations: 139.3 kB / 0.5284 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.3682, allocations: 10.31 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.3683, allocations: 6.625 kB / 0.5284 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.3684, allocations: 8.172 kB / 0.5284 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.3684, allocations: 12.31 kB / 0.5285 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.3696, allocations: 0.7716 MB / 0.5292 GB, free: 12.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3696, allocations: 0 / 0.5292 GB, free: 12.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.37, allocations: 40.5 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.001966/0.372, allocations: 1.051 MB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.3723, allocations: 84.16 kB / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3723, allocations: 0 / 0.5304 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3724, allocations: 47.02 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.0004802/0.3729, allocations: 65.72 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.006655/0.3796, allocations: 4.524 MB / 0.5349 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3801, allocations: 0.8482 MB / 0.5357 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.3803, allocations: 52.98 kB / 0.5358 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.3805, allocations: 146.8 kB / 0.5359 GB, free: 8.172 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3805, allocations: 0 / 0.5359 GB, free: 8.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.4104, allocations: 8.951 MB / 0.5446 GB, free: 1.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.364, allocations: 4 kB / 0.5446 GB, free: 1.035 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