Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001324/0.001324, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001378/0.001378, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2465/0.2465, allocations: 46.9 MB / 357.4 MB, free: 10.46 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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 87.8 kB / 0.4914 GB, free: 8.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1388, allocations: 65.99 MB / 0.5558 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003985/0.1428, allocations: 2.291 MB / 0.558 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1455, allocations: 1.321 MB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1456, allocations: 7.938 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.1461, allocations: 139.2 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.1467, allocations: 262.8 kB / 0.5597 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1471, allocations: 191.5 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.1476, allocations: 454.8 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1478, allocations: 53.05 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.1481, allocations: 342.9 kB / 0.5607 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1483, allocations: 167.1 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.1484, allocations: 16 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1485, allocations: 79.95 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1487, allocations: 155.3 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1489, allocations: 202.3 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.1495, allocations: 485.5 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1495, allocations: 4 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1495, allocations: 0 / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1495, allocations: 0 / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001305/0.1508, allocations: 0.9131 MB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1508, allocations: 16.02 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.1509, allocations: 46.73 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.151, allocations: 72.47 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.1517, allocations: 448.8 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1517, allocations: 12.38 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1518, allocations: 16.33 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1521, allocations: 201 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1522, allocations: 3.938 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1522, allocations: 12 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1522, allocations: 4 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.1524, allocations: 91.86 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.1534, allocations: 0.8172 MB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.154, allocations: 246.4 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1542, allocations: 79.53 kB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1542, allocations: 12.17 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.1546, allocations: 208.2 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.1546, allocations: 0 / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002517/0.1571, allocations: 1.19 MB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.1572, allocations: 144.5 kB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.1583, allocations: 0.9536 MB / 0.5671 GB, free: 10.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.1583, allocations: 37.7 kB / 0.5671 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.1585, allocations: 273 kB / 0.5674 GB, free: 9.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1587, allocations: 142.8 kB / 0.5675 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1588, allocations: 82.08 kB / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1589, allocations: 325.9 kB / 0.5679 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.1592, allocations: 116.8 kB / 0.568 GB, free: 9.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1594, allocations: 187.1 kB / 0.5682 GB, free: 8.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.16, allocations: 319.1 kB / 0.5685 GB, free: 8.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.16, allocations: 4 kB / 0.5685 GB, free: 8.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007439/0.1607, allocations: 448.8 kB / 0.5689 GB, free: 8.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1607, allocations: 4 kB / 0.5689 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1607, allocations: 4 kB / 0.569 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1608, allocations: 4 kB / 0.569 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1611, allocations: 91.83 kB / 0.569 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1611, allocations: 7.938 kB / 0.5691 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1612, allocations: 15.98 kB / 0.5691 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.1612, allocations: 19.94 kB / 0.5691 GB, free: 8.027 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002915/0.1615, allocations: 260 kB / 0.5693 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.1616, allocations: 75.48 kB / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1618, allocations: 94.67 kB / 0.5695 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1618, allocations: 4 kB / 0.5695 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1618, allocations: 0 / 0.5695 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.1618, allocations: 7.984 kB / 0.5695 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1636, allocations: 1.346 MB / 0.5708 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1636, allocations: 4 kB / 0.5708 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1637, allocations: 68.16 kB / 0.5709 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.1637, allocations: 4 kB / 0.5709 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.1638, allocations: 12 kB / 0.5709 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.1638, allocations: 7.984 kB / 0.5709 GB, free: 6.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1638, allocations: 7.938 kB / 0.5709 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.1647, allocations: 0.8017 MB / 0.5717 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.1649, allocations: 184.5 kB / 0.5719 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.165, allocations: 11.98 kB / 0.5719 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1653, allocations: 23.98 kB / 0.5719 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.1653, allocations: 31.91 kB / 0.5719 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.1654, allocations: 23.98 kB / 0.572 GB, free: 4.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007557/0.1661, allocations: 0.706 MB / 0.5727 GB, free: 4.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1661, allocations: 4 kB / 0.5727 GB, free: 4.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1667, allocations: 83.94 kB / 0.5727 GB, free: 4.129 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003232/0.1699, allocations: 1.772 MB / 0.5745 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.1706, allocations: 296.2 kB / 0.5748 GB, free: 2.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.1706, allocations: 4 kB / 0.5748 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.1709, allocations: 144.3 kB / 0.5749 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.1718, allocations: 130.1 kB / 0.575 GB, free: 1.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.1785, allocations: 5.127 MB / 0.58 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/0.1791, allocations: 0.9279 MB / 0.5809 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.1793, allocations: 83.28 kB / 0.581 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.1796, allocations: 215.3 kB / 0.5812 GB, free: 11.39 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1796, allocations: 4 kB / 0.5812 GB, free: 11.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.331/0.5106, allocations: 11.56 MB / 0.5925 GB, free: 37.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.442, allocations: 2 kB / 0.5925 GB, free: 37.23 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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: 12.584328080993146]