Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001519/0.001519, 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.001745/0.001745, 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.54/1.54, 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.2496/0.2496, allocations: 44.18 MB / 336.6 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.72 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003261/0.1557, allocations: 1.719 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1571, allocations: 0.8847 MB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1572, allocations: 4 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1576, allocations: 107.6 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1578, allocations: 79.7 kB / 472.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1582, allocations: 122.9 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1584, allocations: 115.7 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1585, allocations: 15.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.1586, allocations: 51.78 kB / 472.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1587, allocations: 63.75 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1587, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1589, allocations: 63.95 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.1589, allocations: 23.86 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.159, allocations: 47.69 kB / 472.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1592, allocations: 131.8 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1592, allocations: 0 / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1593, allocations: 0 / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1593, allocations: 0 / 472.8 MB, free: 10.86 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.0006475/0.1599, allocations: 442.8 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.16, allocations: 12.03 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.16, allocations: 34.75 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.1601, allocations: 16.75 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1603, allocations: 216.8 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1604, allocations: 4.375 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1604, allocations: 7.938 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1606, allocations: 65.64 kB / 473.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1606, allocations: 0 / 473.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1606, allocations: 4 kB / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1606, allocations: 0 / 473.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.1607, allocations: 27.98 kB / 473.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.1612, allocations: 308.7 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1615, allocations: 58.55 kB / 474 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.1615, allocations: 24.97 kB / 474 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1616, allocations: 3.938 kB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1618, allocations: 79.31 kB / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.1618, allocations: 0 / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008203/0.1627, allocations: 245 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1627, allocations: 55.34 kB / 474.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1629, allocations: 238.3 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.163, allocations: 29.7 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.163, allocations: 108.1 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.1631, allocations: 35.55 kB / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.1631, allocations: 25.72 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1633, allocations: 330.8 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.1633, allocations: 24 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.1634, allocations: 53.62 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1636, allocations: 77.66 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1636, allocations: 0 / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002164/0.1638, allocations: 133.4 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1638, allocations: 4 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1638, allocations: 0 / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1639, allocations: 7.938 kB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.1639, allocations: 23.92 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.164, allocations: 0 / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.164, allocations: 8 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.164, allocations: 4 kB / 475.4 MB, free: 7.953 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 (13): * Single equations (assignments): 13 * 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.0001188/0.1641, allocations: 133.9 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1642, allocations: 15.81 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1642, allocations: 25.38 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1642, allocations: 3.938 kB / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1643, allocations: 0 / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1643, allocations: 3.938 kB / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1648, allocations: 460 kB / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1648, allocations: 0 / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.1649, allocations: 19.92 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1649, allocations: 8 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1649, allocations: 7.938 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1649, allocations: 4 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1649, allocations: 0 / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1652, allocations: 233 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.1653, allocations: 89 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1653, allocations: 4 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.1654, allocations: 8 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.1654, allocations: 7.984 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1655, allocations: 4 kB / 476.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1656, allocations: 184.3 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1657, allocations: 0 / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1659, allocations: 32 kB / 476.7 MB, free: 6.625 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 (11): * Single equations (assignments): 9 * 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.001858/0.1678, allocations: 1.194 MB / 477.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.1681, allocations: 83.91 kB / 477.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1681, allocations: 0 / 477.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.726e-05/0.1682, allocations: 39.92 kB / 478 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1686, allocations: 31.98 kB / 478 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1708, allocations: 1.845 MB / 479.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1712, allocations: 0.7233 MB / 480.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.1713, allocations: 8.656 kB / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.1714, allocations: 51.41 kB / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1714, allocations: 0 / 480.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.1935, allocations: 3.862 MB / 484.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.707, allocations: 4.562 kB / 484.5 MB, free: 14.92 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches