Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 230.5 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.91 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 83.88 kB / 0.491 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 66.05 MB / 0.5555 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003646/0.1469, allocations: 1.818 MB / 0.5573 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.1496, allocations: 1.714 MB / 0.559 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.1497, allocations: 7.938 kB / 0.559 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.15, allocations: 51.67 kB / 0.559 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.1504, allocations: 143.4 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1507, allocations: 103.6 kB / 0.5593 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1509, allocations: 211.3 kB / 0.5595 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.432e-05/0.151, allocations: 9.688 kB / 0.5595 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1512, allocations: 95.55 kB / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1514, allocations: 79.61 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1515, allocations: 8 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1517, allocations: 111.9 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1517, allocations: 35.89 kB / 0.5598 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.1518, allocations: 63.55 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1522, allocations: 235 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1522, allocations: 0 / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1522, allocations: 0 / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1522, allocations: 4 kB / 0.5601 GB, free: 0.7852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007935/0.153, allocations: 0.5019 MB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.153, allocations: 8.031 kB / 0.5606 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.1531, allocations: 38.73 kB / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.1532, allocations: 16.84 kB / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1536, allocations: 248 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1536, allocations: 8.375 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1536, allocations: 4.375 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.1538, allocations: 109.1 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1538, allocations: 0 / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1539, allocations: 4 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1539, allocations: 7.984 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.154, allocations: 23.98 kB / 0.561 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.1542, allocations: 222.5 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1545, allocations: 97.17 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.1546, allocations: 41.69 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1546, allocations: 4 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1549, allocations: 116.9 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1549, allocations: 0 / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004667/0.1553, allocations: 165.4 kB / 0.5616 GB, free: 14.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.1554, allocations: 136.5 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.1557, allocations: 240.9 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1557, allocations: 29.7 kB / 0.562 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.1558, allocations: 120.1 kB / 0.5621 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1559, allocations: 23.81 kB / 0.5622 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.1559, allocations: 29.7 kB / 0.5622 GB, free: 14.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1561, allocations: 326.8 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1562, allocations: 27.98 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1563, allocations: 81.06 kB / 0.5626 GB, free: 13.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1565, allocations: 79.42 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1565, allocations: 0 / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002867/0.1568, allocations: 150 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1568, allocations: 8 kB / 0.5628 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1568, allocations: 3.938 kB / 0.5628 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1568, allocations: 4 kB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1569, allocations: 23.98 kB / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1569, allocations: 0 / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.157, allocations: 15.89 kB / 0.5629 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.157, allocations: 4 kB / 0.5629 GB, free: 13.6 MB / 430.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001359/0.1571, allocations: 137.8 kB / 0.563 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.1572, allocations: 23.84 kB / 0.563 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.1572, allocations: 20.97 kB / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1573, allocations: 4 kB / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1573, allocations: 0 / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1573, allocations: 0 / 0.5631 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1575, allocations: 229.5 kB / 0.5633 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1575, allocations: 3.938 kB / 0.5633 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.1575, allocations: 7.984 kB / 0.5633 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1575, allocations: 8 kB / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1575, allocations: 0 / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1575, allocations: 0 / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1576, allocations: 4 kB / 0.5633 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.1579, allocations: 165.7 kB / 0.5635 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.158, allocations: 104.9 kB / 0.5636 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.158, allocations: 4 kB / 0.5636 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.1581, allocations: 11.98 kB / 0.5636 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1581, allocations: 11.94 kB / 0.5636 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1581, allocations: 7.984 kB / 0.5636 GB, free: 12.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1583, allocations: 177.6 kB / 0.5638 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1583, allocations: 0 / 0.5638 GB, free: 12.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1586, allocations: 51.92 kB / 0.5638 GB, free: 12.54 MB / 430.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002299/0.1609, allocations: 1.115 MB / 0.5649 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1612, allocations: 75.91 kB / 0.565 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1612, allocations: 0 / 0.565 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1613, allocations: 35.92 kB / 0.565 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1617, allocations: 55.44 kB / 0.5651 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.1643, allocations: 1.893 MB / 0.5669 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1647, allocations: 0.7242 MB / 0.5676 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.1649, allocations: 30.03 kB / 0.5677 GB, free: 8.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1651, allocations: 63.39 kB / 0.5677 GB, free: 8.566 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1651, allocations: 0 / 0.5677 GB, free: 8.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.1958, allocations: 5.313 MB / 0.5729 GB, free: 3.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.189, allocations: 16.67 kB / 0.5729 GB, free: 3.27 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.439324898994528]