Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_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.001196/0.001196, allocations: 108 kB / 16.41 MB, free: 6.484 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.001121/0.001121, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2157/0.2157, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.00142/0.00142, allocations: 71.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003119/0.1318, allocations: 1.794 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1334, allocations: 0.878 MB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.1335, allocations: 3.938 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.1341, allocations: 303.3 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.1345, allocations: 211.4 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1349, allocations: 143.7 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1352, allocations: 243.4 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.1353, allocations: 17.53 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1355, allocations: 131.5 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1357, allocations: 199.5 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1357, allocations: 8 kB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.1358, allocations: 39.94 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.136, allocations: 139.6 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1361, allocations: 150.8 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.1365, allocations: 366.2 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1366, allocations: 4 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1366, allocations: 0 / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1366, allocations: 0 / 0.4919 GB, free: 7.637 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.0009898/0.1376, allocations: 0.7423 MB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1376, allocations: 15.89 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.1377, allocations: 34.75 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.1378, allocations: 48.61 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.1384, allocations: 460.3 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1384, allocations: 384 / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1385, allocations: 7.938 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.1387, allocations: 95.3 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1387, allocations: 0 / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1387, allocations: 0 / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1387, allocations: 4 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1388, allocations: 31.97 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.1392, allocations: 370.4 kB / 0.4937 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1395, allocations: 113.1 kB / 0.4938 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.1396, allocations: 41.7 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1397, allocations: 3.984 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1399, allocations: 113 kB / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004869/0.1404, allocations: 193.7 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.1405, allocations: 81.11 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1415, allocations: 1.038 MB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1415, allocations: 29.7 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1417, allocations: 232.1 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1418, allocations: 27.8 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1418, allocations: 33.7 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.142, allocations: 362.8 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.1421, allocations: 32.05 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1422, allocations: 67.28 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1424, allocations: 87.42 kB / 0.4961 GB, free: 3.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1424, allocations: 3.938 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000288/0.1427, allocations: 173.2 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1427, allocations: 4 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1427, allocations: 4 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1427, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1428, allocations: 28.05 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1428, allocations: 0 / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/0.1429, allocations: 11.94 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.143, allocations: 7.938 kB / 0.4963 GB, free: 2.895 MB / 382.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.0002115/0.1432, allocations: 229.6 kB / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1432, allocations: 55.66 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1434, allocations: 56 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1434, allocations: 4 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1434, allocations: 4 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1434, allocations: 0 / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1437, allocations: 353.4 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.1437, allocations: 4 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.1437, allocations: 8 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1437, allocations: 3.984 kB / 0.497 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1438, allocations: 0 / 0.497 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1438, allocations: 4 kB / 0.497 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.103e-05/0.1438, allocations: 3.938 kB / 0.497 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1441, allocations: 201.6 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1443, allocations: 140.8 kB / 0.4973 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1443, allocations: 3.938 kB / 0.4973 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.1444, allocations: 7.984 kB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1445, allocations: 11.98 kB / 0.4973 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1445, allocations: 4 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007345/0.1452, allocations: 0.7721 MB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1452, allocations: 4 kB / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1455, allocations: 40 kB / 0.4981 GB, free: 0.9102 MB / 382.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.001465/0.147, allocations: 1.055 MB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1472, allocations: 83.91 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1472, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1473, allocations: 39.92 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1478, allocations: 73.89 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.1529, allocations: 4.527 MB / 0.5038 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1533, allocations: 0.8388 MB / 0.5046 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1535, allocations: 55.44 kB / 0.5046 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.1537, allocations: 147.4 kB / 0.5048 GB, free: 9.969 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1537, allocations: 4 kB / 0.5048 GB, free: 9.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1837, allocations: 8.929 MB / 0.5135 GB, free: 1.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.177, allocations: 7.906 kB / 0.5135 GB, free: 0.9961 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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