Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_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.001239/0.001239, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001305/0.001305, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.39/1.39, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2365/0.2365, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.64 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003453/0.1482, allocations: 1.797 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1499, allocations: 0.9549 MB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.616e-05/0.15, allocations: 3.938 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.1506, allocations: 307.3 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.1511, allocations: 215.4 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1515, allocations: 175.1 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.1518, allocations: 243.4 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.1519, allocations: 5.562 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.152, allocations: 131.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1523, allocations: 191.5 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1523, allocations: 4 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1524, allocations: 51.92 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1526, allocations: 131.6 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1527, allocations: 150.7 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1531, allocations: 363 kB / 474 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1531, allocations: 0 / 474 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1531, allocations: 0 / 474 MB, free: 9.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1532, allocations: 0 / 474 MB, free: 9.555 MB / 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.000964/0.1541, allocations: 0.7191 MB / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1542, allocations: 12.03 kB / 474.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1542, allocations: 34.75 kB / 474.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.1543, allocations: 52.28 kB / 474.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1549, allocations: 455.8 kB / 475.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1549, allocations: 384 / 475.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1549, allocations: 7.938 kB / 475.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1551, allocations: 83.36 kB / 475.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1552, allocations: 0 / 475.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1552, allocations: 4 kB / 475.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1552, allocations: 0 / 475.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1553, allocations: 35.91 kB / 475.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1557, allocations: 382.4 kB / 475.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.156, allocations: 113.1 kB / 475.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1561, allocations: 41.7 kB / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1562, allocations: 0 / 476 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.1565, allocations: 113 kB / 476.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1565, allocations: 0 / 476.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000499/0.157, allocations: 193 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.1571, allocations: 85.05 kB / 476.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1582, allocations: 1.034 MB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1582, allocations: 29.7 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.1585, allocations: 232.1 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.1585, allocations: 27.56 kB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.1586, allocations: 33.7 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1588, allocations: 362.8 kB / 478 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.1589, allocations: 31.98 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.159, allocations: 59.41 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1592, allocations: 91.86 kB / 478.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1592, allocations: 7.875 kB / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002882/0.1595, allocations: 165 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1595, allocations: 4 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1595, allocations: 4 kB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1595, allocations: 0 / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1597, allocations: 27.92 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1597, allocations: 0 / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.1598, allocations: 11.91 kB / 478.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1598, allocations: 4 kB / 478.4 MB, free: 4.855 MB / 350.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.000238/0.1601, allocations: 233.7 kB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.1601, allocations: 51.34 kB / 478.7 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.1602, allocations: 59.94 kB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1602, allocations: 4 kB / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1603, allocations: 0 / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1603, allocations: 0 / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.1606, allocations: 345.4 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1606, allocations: 3.938 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.1607, allocations: 8 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1607, allocations: 3.984 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1607, allocations: 4 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1607, allocations: 4.125 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1607, allocations: 4 kB / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.161, allocations: 205.2 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1612, allocations: 132.5 kB / 479.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1612, allocations: 4 kB / 479.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.1613, allocations: 7.984 kB / 479.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1614, allocations: 11.98 kB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1614, allocations: 8 kB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008648/0.1623, allocations: 0.7682 MB / 480.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1623, allocations: 0 / 480.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1626, allocations: 40 kB / 480.3 MB, free: 2.879 MB / 350.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.001571/0.1641, allocations: 1.056 MB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.1644, allocations: 83.84 kB / 481.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1644, allocations: 0 / 481.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.1646, allocations: 39.98 kB / 481.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.165, allocations: 80.58 kB / 481.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/0.1709, allocations: 4.634 MB / 486.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1714, allocations: 0.8386 MB / 487 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1716, allocations: 58.94 kB / 487.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1718, allocations: 151.4 kB / 487.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1718, allocations: 0 / 487.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.2018, allocations: 8.772 MB / 496 MB, free: 3.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.69, allocations: 4 kB / 496 MB, free: 3.277 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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