Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_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.001447/0.001447, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.001626/0.001626, allocations: 186.1 kB / 17.19 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 70.02 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1113, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002982/0.1144, allocations: 1.779 MB / 442.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1155, allocations: 0.8818 MB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.1156, allocations: 3.938 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.1161, allocations: 303.3 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1164, allocations: 215.4 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1167, allocations: 147.5 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.1169, allocations: 231.5 kB / 444.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.117, allocations: 17.83 kB / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1171, allocations: 123.6 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1173, allocations: 195.5 kB / 444.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1173, allocations: 8 kB / 444.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1174, allocations: 43.92 kB / 444.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1176, allocations: 127.6 kB / 444.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1177, allocations: 150.8 kB / 444.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.118, allocations: 358.7 kB / 445.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.118, allocations: 0 / 445.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.118, allocations: 4 kB / 445.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.118, allocations: 0 / 445.2 MB, free: 2.258 MB / 318.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.0007492/0.1188, allocations: 0.7345 MB / 445.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1188, allocations: 11.89 kB / 445.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1189, allocations: 38.73 kB / 446 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.1189, allocations: 44.38 kB / 446 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.1194, allocations: 443.8 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1194, allocations: 8.375 kB / 446.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1194, allocations: 15.92 kB / 446.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1196, allocations: 83.31 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1196, allocations: 3.938 kB / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1196, allocations: 0 / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1197, allocations: 0 / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.1198, allocations: 35.91 kB / 446.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.12, allocations: 374.4 kB / 446.9 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1203, allocations: 109.1 kB / 447.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.1204, allocations: 37.7 kB / 447.1 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1204, allocations: 7.984 kB / 447.1 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.1206, allocations: 109 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1206, allocations: 0 / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005448/0.1212, allocations: 197.4 kB / 447.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1213, allocations: 77.11 kB / 447.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1225, allocations: 1.042 MB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1225, allocations: 29.7 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1227, allocations: 232.1 kB / 448.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.1227, allocations: 31.69 kB / 448.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.1228, allocations: 21.72 kB / 448.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1229, allocations: 374.8 kB / 449.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.123, allocations: 27.98 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.1231, allocations: 59.36 kB / 449.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1233, allocations: 87.47 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1233, allocations: 3.938 kB / 449.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002954/0.1236, allocations: 176.9 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1236, allocations: 4 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1236, allocations: 0 / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1237, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1238, allocations: 19.98 kB / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1238, allocations: 0 / 449.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.1239, allocations: 19.83 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1239, allocations: 8 kB / 449.6 MB, free: 13.55 MB / 334.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.1241, allocations: 221.6 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.1242, allocations: 55.45 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.217e-05/0.1243, allocations: 64 kB / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1243, allocations: 0 / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1243, allocations: 0 / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1243, allocations: 0 / 449.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1246, allocations: 341.2 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1246, allocations: 0 / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.1247, allocations: 16.11 kB / 450.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1247, allocations: 11.92 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1247, allocations: 4 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1247, allocations: 4 kB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1247, allocations: 0 / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.125, allocations: 201.2 kB / 450.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1252, allocations: 136.4 kB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1252, allocations: 8 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.1253, allocations: 4 kB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.1253, allocations: 15.92 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1254, allocations: 8 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007659/0.1261, allocations: 0.7721 MB / 451.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1261, allocations: 0 / 451.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1264, allocations: 44 kB / 451.5 MB, free: 11.56 MB / 334.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.001416/0.1278, allocations: 1.059 MB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.1281, allocations: 79.91 kB / 452.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1281, allocations: 3.938 kB / 452.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1282, allocations: 43.91 kB / 452.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1287, allocations: 68.31 kB / 452.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.1344, allocations: 4.631 MB / 457.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.135, allocations: 0.8466 MB / 458.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.1351, allocations: 55.45 kB / 458.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.1353, allocations: 147.4 kB / 458.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1353, allocations: 0 / 458.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1623, allocations: 8.779 MB / 467.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.769, allocations: 0 / 467.2 MB, free: 11.74 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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