Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.001499/0.001499, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.00162/0.00162, allocations: 192 kB / 18.56 MB, free: 4.434 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.433/1.433, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2323/0.2323, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 69.08 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1641, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003456/0.1676, allocations: 1.789 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1693, allocations: 0.9588 MB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1694, allocations: 0 / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.1699, allocations: 303.3 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.1704, allocations: 223.3 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1708, allocations: 167.3 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1712, allocations: 243.4 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.456e-05/0.1713, allocations: 9.562 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1715, allocations: 127.5 kB / 473.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1718, allocations: 187.5 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.1719, allocations: 8 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.172, allocations: 47.97 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.1722, allocations: 135.6 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1724, allocations: 146.8 kB / 473.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.173, allocations: 367 kB / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.173, allocations: 0 / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.173, allocations: 0 / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.173, allocations: 0 / 474 MB, free: 9.562 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.0013/0.1743, allocations: 0.7308 MB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1744, allocations: 8.031 kB / 474.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.1744, allocations: 38.75 kB / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1746, allocations: 48.28 kB / 474.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.1753, allocations: 447.9 kB / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1753, allocations: 8.375 kB / 475.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.1754, allocations: 7.938 kB / 475.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1756, allocations: 91.23 kB / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1756, allocations: 0 / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1756, allocations: 0 / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1757, allocations: 0 / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1758, allocations: 27.98 kB / 475.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1762, allocations: 382.4 kB / 475.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1765, allocations: 109.1 kB / 475.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1766, allocations: 41.7 kB / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1767, allocations: 0 / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.1769, allocations: 112.9 kB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.177, allocations: 0 / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005034/0.1775, allocations: 197 kB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.1775, allocations: 81.11 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1787, allocations: 1.034 MB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1787, allocations: 29.7 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1789, allocations: 240 kB / 477.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.179, allocations: 27.56 kB / 477.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.179, allocations: 29.7 kB / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.1792, allocations: 366.8 kB / 478 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.1793, allocations: 31.98 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1794, allocations: 55.41 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1796, allocations: 87.36 kB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1797, allocations: 3.938 kB / 478.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003642/0.18, allocations: 177.5 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1801, allocations: 4 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1801, allocations: 0 / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1801, allocations: 4 kB / 478.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1802, allocations: 16 kB / 478.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1802, allocations: 3.984 kB / 478.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1804, allocations: 15.91 kB / 478.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1804, allocations: 4 kB / 478.4 MB, free: 4.859 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.0002452/0.1806, allocations: 233.6 kB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.1807, allocations: 51.34 kB / 478.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1808, allocations: 60 kB / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1809, allocations: 0 / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1809, allocations: 0 / 478.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1809, allocations: 7.922 kB / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.1812, allocations: 345.4 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1813, allocations: 0 / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.1813, allocations: 8 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1813, allocations: 0 / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1813, allocations: 11.98 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1813, allocations: 0 / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1813, allocations: 0 / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.1817, allocations: 205.2 kB / 479.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1819, allocations: 132.5 kB / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.1819, allocations: 4 kB / 479.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.182, allocations: 11.98 kB / 479.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1821, allocations: 11.94 kB / 479.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1821, allocations: 7.984 kB / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008312/0.1829, allocations: 0.7682 MB / 480.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1829, allocations: 96 / 480.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1833, allocations: 47.92 kB / 480.3 MB, free: 2.875 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.001688/0.185, allocations: 1.04 MB / 481.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.1852, allocations: 87.83 kB / 481.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1853, allocations: 3.938 kB / 481.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1854, allocations: 43.92 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.0004398/0.1858, allocations: 75.97 kB / 481.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.1919, allocations: 4.634 MB / 486.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.1925, allocations: 0.8425 MB / 487 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.1926, 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.000193/0.1928, allocations: 147.4 kB / 487.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1928, allocations: 4 kB / 487.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.2262, allocations: 8.765 MB / 496 MB, free: 3.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.679, allocations: 3.938 kB / 496 MB, free: 3.285 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=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