Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 63.91 kB / 0.491 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1612, allocations: 65.99 MB / 0.5554 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00395/0.1651, allocations: 1.937 MB / 0.5573 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1672, allocations: 1.069 MB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.1674, allocations: 7.938 kB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.1677, allocations: 43.7 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1682, allocations: 103.5 kB / 0.5585 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1685, allocations: 87.72 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.1688, allocations: 155.5 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1689, allocations: 17.56 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1691, allocations: 63.7 kB / 0.5588 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1692, allocations: 51.7 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1692, allocations: 8 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1694, allocations: 51.92 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.1694, allocations: 27.84 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.1695, allocations: 51.67 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.1699, allocations: 159.3 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1699, allocations: 0 / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1699, allocations: 0 / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1699, allocations: 0 / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008408/0.1707, allocations: 492.1 kB / 0.5596 GB, free: 1.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1708, allocations: 12.03 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.1708, allocations: 34.75 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.1709, allocations: 20.83 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.1713, allocations: 240.8 kB / 0.5599 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1713, allocations: 4.375 kB / 0.5599 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.1714, allocations: 15.88 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1717, allocations: 112.1 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1717, allocations: 0 / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1717, allocations: 4 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1717, allocations: 4 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1719, allocations: 51.91 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.1726, allocations: 0.4971 MB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.1729, allocations: 90.59 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.173, allocations: 32.84 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1731, allocations: 7.984 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1733, allocations: 79.31 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1733, allocations: 0 / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004506/0.1737, allocations: 153.4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1738, allocations: 51.41 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.174, allocations: 198.3 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.174, allocations: 29.7 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.1741, allocations: 120 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1741, allocations: 27.75 kB / 0.5613 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.1742, allocations: 30.08 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1743, allocations: 330.8 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.1744, allocations: 27.98 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1746, allocations: 68.39 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.1748, allocations: 108.1 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1748, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.175, allocations: 133.4 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1751, allocations: 4 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1751, allocations: 12.11 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1751, allocations: 3.938 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1752, allocations: 24 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1752, allocations: 3.984 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.1753, allocations: 11.95 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1753, allocations: 4 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001446/0.1754, allocations: 133.9 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1755, allocations: 19.89 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.1755, allocations: 21.41 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1755, allocations: 3.938 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1755, allocations: 3.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1755, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1757, allocations: 213.6 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1757, allocations: 4 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/0.1758, allocations: 8 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1758, allocations: 0 / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1758, allocations: 0 / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.1758, allocations: 11.94 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1758, allocations: 3.984 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1762, allocations: 185 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.1763, allocations: 89.05 kB / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1763, allocations: 4 kB / 0.5627 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1764, allocations: 11.92 kB / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1765, allocations: 7.938 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1765, allocations: 7.984 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1766, allocations: 148.5 kB / 0.5629 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1766, allocations: 0 / 0.5629 GB, free: 13.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1769, allocations: 27.94 kB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002153/0.179, allocations: 1.023 MB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1793, allocations: 71.91 kB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1793, allocations: 0 / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1794, allocations: 31.92 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1797, allocations: 50.41 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.182, allocations: 1.771 MB / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1823, allocations: 0.7162 MB / 0.5665 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.198e-05/0.1824, allocations: 17.41 kB / 0.5665 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.1825, allocations: 43.42 kB / 0.5666 GB, free: 9.941 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1825, allocations: 4 kB / 0.5666 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2101, allocations: 3.853 MB / 0.5703 GB, free: 6.156 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.111, allocations: 6.906 kB / 0.5703 GB, free: 6.152 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.440621556990664]