Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001318/0.001318, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001559/0.001559, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.501/1.501, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2398/0.2398, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003472/0.003472, allocations: 83.86 kB / 0.4913 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1564, allocations: 65.99 MB / 0.5558 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003306/0.1597, allocations: 1.937 MB / 0.5577 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1616, allocations: 1.13 MB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.652e-05/0.1616, allocations: 7.938 kB / 0.5588 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1621, allocations: 167.5 kB / 0.5589 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.1625, allocations: 179.3 kB / 0.5591 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1627, allocations: 111.6 kB / 0.5592 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.163, allocations: 243.3 kB / 0.5595 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1631, allocations: 25.67 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1633, allocations: 111.5 kB / 0.5596 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1635, allocations: 143.5 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1635, allocations: 8 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1637, allocations: 71.89 kB / 0.5598 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.1637, allocations: 51.78 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.1638, allocations: 87.34 kB / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1642, allocations: 223 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1642, allocations: 0 / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1642, allocations: 0 / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1642, allocations: 3.938 kB / 0.5601 GB, free: 1.414 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007688/0.1649, allocations: 0.5446 MB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.165, allocations: 12.03 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.165, allocations: 38.73 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.1651, allocations: 32.75 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1655, allocations: 279.7 kB / 0.561 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1655, allocations: 4.375 kB / 0.561 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1655, allocations: 12.38 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1657, allocations: 116.5 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1658, allocations: 0 / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1658, allocations: 4 kB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1658, allocations: 4 kB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1659, allocations: 55.83 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.1665, allocations: 468.7 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.1669, allocations: 117.2 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-05/0.167, allocations: 41.83 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.167, allocations: 0 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1673, allocations: 128 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1673, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.1686, allocations: 497.8 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.1686, allocations: 89.11 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.169, allocations: 367.3 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.1691, allocations: 41.62 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1692, allocations: 140.5 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.1692, allocations: 83.3 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.1693, allocations: 41.7 kB / 0.5631 GB, free: 14.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1695, allocations: 342.8 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1696, allocations: 59.97 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1698, allocations: 95.33 kB / 0.5636 GB, free: 13.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1701, allocations: 155.4 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.1701, allocations: 0 / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004008/0.1705, allocations: 229.3 kB / 0.564 GB, free: 13.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1705, allocations: 11.98 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.1705, allocations: 3.938 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1705, allocations: 0 / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1707, allocations: 47.92 kB / 0.564 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1707, allocations: 4 kB / 0.564 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.1708, allocations: 8 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1708, allocations: 7.984 kB / 0.5641 GB, free: 13.11 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001696/0.1709, allocations: 161.8 kB / 0.5642 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.171, allocations: 27.81 kB / 0.5642 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.1711, allocations: 41.77 kB / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1711, allocations: 0 / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1711, allocations: 0 / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1711, allocations: 11.92 kB / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009673/0.172, allocations: 0.7194 MB / 0.565 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1721, allocations: 4 kB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.1721, allocations: 27.98 kB / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1721, allocations: 4 kB / 0.565 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1722, allocations: 4 kB / 0.565 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.1722, allocations: 11.92 kB / 0.565 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1722, allocations: 0 / 0.565 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.1727, allocations: 420.8 kB / 0.5654 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.1727, allocations: 104.9 kB / 0.5655 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.1728, allocations: 12 kB / 0.5656 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1729, allocations: 11.94 kB / 0.5656 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.173, allocations: 27.91 kB / 0.5656 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.173, allocations: 8 kB / 0.5656 GB, free: 11.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002849/0.1733, allocations: 273.9 kB / 0.5659 GB, free: 11.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1733, allocations: 0 / 0.5659 GB, free: 11.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1736, allocations: 51.92 kB / 0.5659 GB, free: 11.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002609/0.1763, allocations: 1.357 MB / 0.5672 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.1766, allocations: 159.6 kB / 0.5674 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1766, allocations: 4 kB / 0.5674 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1768, allocations: 67.91 kB / 0.5675 GB, free: 9.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.1773, allocations: 70.98 kB / 0.5675 GB, free: 9.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.1806, allocations: 2.711 MB / 0.5702 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.181, allocations: 0.7636 MB / 0.5709 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1811, allocations: 45.86 kB / 0.571 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.1813, allocations: 91.77 kB / 0.5711 GB, free: 5.84 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1813, allocations: 4 kB / 0.5711 GB, free: 5.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.2113, allocations: 6.119 MB / 0.577 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.617, allocations: 9.547 kB / 0.577 GB, free: 15.77 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.766860588919371]