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.001038/0.001038, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001535/0.001535, allocations: 185.5 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2217/0.2217, allocations: 43.52 MB / 314.1 MB, free: 468 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.001485/0.001485, allocations: 67.91 kB / 441.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 57.8 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003547/0.1315, allocations: 1.782 MB / 0.4892 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1331, allocations: 0.8741 MB / 0.4901 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1333, allocations: 11.88 kB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005924/0.1339, allocations: 311.3 kB / 0.4904 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.1344, allocations: 215.4 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1348, allocations: 135.7 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.1352, allocations: 239.4 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.008e-05/0.1353, allocations: 21.52 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1356, allocations: 135.5 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.1359, allocations: 187.6 kB / 0.4913 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1359, allocations: 12 kB / 0.4913 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1361, allocations: 47.91 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1362, allocations: 139.6 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1364, allocations: 146.8 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.1369, allocations: 366.3 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1369, allocations: 0 / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1369, allocations: 0 / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1369, allocations: 0 / 0.4919 GB, free: 7.656 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.0011/0.138, allocations: 0.7422 MB / 0.4927 GB, free: 6.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1381, allocations: 19.89 kB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.1381, allocations: 34.69 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1382, allocations: 52.61 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.139, allocations: 456.3 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.139, allocations: 4.375 kB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.139, allocations: 3.938 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.1392, allocations: 91.3 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1393, allocations: 8 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1393, allocations: 0 / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1393, allocations: 0 / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1394, allocations: 31.97 kB / 0.4933 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.14, allocations: 374.4 kB / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1403, allocations: 109.1 kB / 0.4938 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1404, allocations: 37.7 kB / 0.4938 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1404, allocations: 0 / 0.4938 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.1407, allocations: 117 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1407, allocations: 0 / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005355/0.1412, allocations: 197.2 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.1413, allocations: 77.11 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.1425, allocations: 1.042 MB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1425, allocations: 29.7 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1427, allocations: 232.1 kB / 0.4955 GB, free: 3.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.1428, allocations: 35.78 kB / 0.4955 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.1428, allocations: 25.72 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.143, allocations: 362.8 kB / 0.4959 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.1431, allocations: 27.98 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1432, allocations: 63.34 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.1434, allocations: 91.92 kB / 0.496 GB, free: 3.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1434, allocations: 3.938 kB / 0.4961 GB, free: 3.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003141/0.1437, allocations: 173.2 kB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1437, allocations: 8 kB / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1438, allocations: 0 / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1438, allocations: 0 / 0.4962 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1439, allocations: 31.98 kB / 0.4963 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1439, allocations: 3.984 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.144, allocations: 11.94 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1441, allocations: 4 kB / 0.4963 GB, free: 2.91 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.0002475/0.1443, allocations: 229.6 kB / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.1444, allocations: 51.67 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.1445, allocations: 60 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1445, allocations: 4 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1445, allocations: 0 / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1445, allocations: 7.984 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.1449, allocations: 349.3 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1449, allocations: 0 / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1449, allocations: 11.98 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1449, allocations: 0 / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1449, allocations: 4 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1449, allocations: 0 / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1449, allocations: 3.938 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.1453, allocations: 201.6 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.1455, allocations: 144.7 kB / 0.4973 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.1455, allocations: 8.109 kB / 0.4973 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.1456, allocations: 4 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1457, allocations: 11.98 kB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1457, allocations: 8.094 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000794/0.1465, allocations: 0.7721 MB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 4 kB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1468, allocations: 40 kB / 0.4981 GB, free: 0.9219 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.001516/0.1483, allocations: 1.05 MB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.1486, allocations: 87.84 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1486, allocations: 0 / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1487, allocations: 40.3 kB / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.1492, allocations: 74.33 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.006/0.1552, allocations: 4.516 MB / 0.5037 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.1558, allocations: 0.8466 MB / 0.5046 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.156, allocations: 54.95 kB / 0.5046 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.1562, allocations: 147.4 kB / 0.5048 GB, free: 9.988 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1562, allocations: 4 kB / 0.5048 GB, free: 9.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.1886, allocations: 8.933 MB / 0.5135 GB, free: 1.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.214, allocations: 15.84 kB / 0.5135 GB, free: 1.004 MB / 398.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