Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001198, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001354, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 80.2 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003451/0.1055, allocations: 1.828 MB / 482 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1075, allocations: 1.099 MB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1076, allocations: 0 / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.1082, allocations: 303.3 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.1088, allocations: 247.2 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1092, allocations: 111.6 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.1095, allocations: 247.4 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.1096, allocations: 21.66 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1099, allocations: 131.5 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1101, allocations: 192 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1102, allocations: 8 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1103, allocations: 51.97 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.1105, allocations: 132.5 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1106, allocations: 142.8 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.111, allocations: 363 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.111, allocations: 0 / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1111, allocations: 4 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1111, allocations: 0 / 485 MB, free: 332 kB / 350.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.0009668/0.112, allocations: 0.7307 MB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1121, allocations: 8.031 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.1121, allocations: 42.73 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.1122, allocations: 48.28 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.1128, allocations: 443.8 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1129, allocations: 8.359 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1129, allocations: 7.938 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.1131, allocations: 83.31 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1131, allocations: 4 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1131, allocations: 3.984 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1131, allocations: 0 / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1133, allocations: 27.98 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.1137, allocations: 374.4 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.114, allocations: 113.1 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.1141, allocations: 41.69 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1141, allocations: 3.984 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.1144, allocations: 113 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1144, allocations: 0 / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004655/0.1148, allocations: 196.9 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1149, allocations: 77.11 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009939/0.1159, allocations: 1.03 MB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1159, allocations: 29.7 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1161, allocations: 232.1 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1161, allocations: 35.62 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1162, allocations: 33.72 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1163, allocations: 366.8 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.1164, allocations: 27.98 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.1165, allocations: 55.41 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1167, allocations: 91.86 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1167, allocations: 7.938 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000314/0.117, allocations: 168.9 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1171, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1171, allocations: 4 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1171, allocations: 0 / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1172, allocations: 28.05 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1172, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.813e-05/0.1173, allocations: 7.906 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1174, allocations: 4 kB / 489.4 MB, free: 11.63 MB / 366.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.0002034/0.1176, allocations: 225.6 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.1176, allocations: 47.44 kB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.1177, allocations: 60.09 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1177, allocations: 0 / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1177, allocations: 4 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1177, allocations: 3.984 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.118, allocations: 345.2 kB / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.118, allocations: 0 / 490 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1181, allocations: 11.98 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1181, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1181, allocations: 8 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1181, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1181, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1184, allocations: 217.2 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1186, allocations: 128.5 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.1186, allocations: 11.98 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1187, allocations: 4 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1188, allocations: 11.92 kB / 490.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1188, allocations: 7.938 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.1195, allocations: 0.7682 MB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1195, allocations: 4 kB / 491.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1198, allocations: 40 kB / 491.3 MB, free: 9.652 MB / 366.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.001441/0.1213, allocations: 1.032 MB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1215, allocations: 87.91 kB / 492.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1215, allocations: 4 kB / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1217, allocations: 35.92 kB / 492.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1221, allocations: 79.61 kB / 492.5 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.1272, allocations: 4.589 MB / 497.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.1276, allocations: 0.8465 MB / 497.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1278, allocations: 50.95 kB / 498 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.1279, allocations: 147.4 kB / 498.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.128, allocations: 0 / 498.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/0.2433, allocations: 8.748 MB / 0.495 GB, free: 10.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.014, allocations: 15.84 kB / 0.495 GB, free: 10.07 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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