Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001151/0.001151, allocations: 105.5 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.001398/0.001398, 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2305/0.2305, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.47 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1577, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00356/0.1613, allocations: 1.739 MB / 471.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1629, allocations: 0.8886 MB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.163, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1634, allocations: 111.6 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1637, allocations: 79.66 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.164, allocations: 123.3 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1642, allocations: 131.7 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1644, allocations: 15.98 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1645, allocations: 63.7 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1646, allocations: 71.73 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1647, allocations: 8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1648, allocations: 59.98 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.1649, allocations: 31.89 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.165, allocations: 47.62 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1653, allocations: 151.8 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1653, allocations: 4 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1653, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1653, allocations: 0 / 472.9 MB, free: 10.73 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008081/0.1662, allocations: 454.6 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.1662, allocations: 8.031 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.1663, allocations: 38.75 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.1663, allocations: 20.73 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1667, allocations: 219.9 kB / 473.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1667, allocations: 4.375 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1667, allocations: 11.94 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.167, allocations: 77.53 kB / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.167, allocations: 0 / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.167, allocations: 0 / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.167, allocations: 4 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1671, allocations: 31.97 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.1677, allocations: 344.5 kB / 474.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.168, allocations: 78.48 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.1681, allocations: 24.84 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1681, allocations: 0 / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.1684, allocations: 83.38 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.1684, allocations: 0 / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009272/0.1693, allocations: 293.1 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1694, allocations: 55.41 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1696, allocations: 251.1 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1697, allocations: 29.7 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.1697, allocations: 116 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1698, allocations: 47.59 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.1699, allocations: 33.7 kB / 475.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.17, allocations: 326.8 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.1701, allocations: 35.98 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1702, allocations: 61.62 kB / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1704, allocations: 109.7 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1704, allocations: 0 / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002596/0.1707, allocations: 157.4 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1707, allocations: 4 kB / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1707, allocations: 0 / 475.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1707, allocations: 7.938 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.1708, allocations: 27.98 kB / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1708, allocations: 0 / 475.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.1709, allocations: 7.906 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1709, allocations: 8 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001501/0.1711, allocations: 144.2 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1711, allocations: 19.8 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.1712, allocations: 29.45 kB / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1712, allocations: 0 / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1712, allocations: 0 / 476 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1712, allocations: 4 kB / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.1718, allocations: 0.5 MB / 476.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1718, allocations: 0 / 476.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.1719, allocations: 19.98 kB / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1719, allocations: 0 / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1719, allocations: 8 kB / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1719, allocations: 0 / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1719, allocations: 8.547 kB / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1722, allocations: 261 kB / 476.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1723, allocations: 92.91 kB / 476.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.1723, allocations: 8 kB / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1724, allocations: 0 / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1725, allocations: 11.98 kB / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1725, allocations: 11.94 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1727, allocations: 192.2 kB / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1727, allocations: 0 / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.173, allocations: 39.98 kB / 477.1 MB, free: 6.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001711/0.1747, allocations: 1.201 MB / 478.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.175, allocations: 111.8 kB / 478.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.175, allocations: 0 / 478.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1751, allocations: 51.92 kB / 478.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1755, allocations: 30.64 kB / 478.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1777, allocations: 1.984 MB / 480.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.178, allocations: 0.724 MB / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.248e-05/0.1781, allocations: 29.41 kB / 481.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.1782, allocations: 47.42 kB / 481.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1782, allocations: 0 / 481.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.201, allocations: 4.165 MB / 485.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.81, allocations: 2.031 kB / 485.5 MB, free: 13.93 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches