Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.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.001949/0.001949, allocations: 118.6 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.002194/0.002194, allocations: 218.6 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.518/1.518, 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.2432/0.2432, allocations: 46.89 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 79.86 kB / 0.4912 GB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1354, allocations: 65.99 MB / 0.5557 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003901/0.1393, allocations: 2.331 MB / 0.558 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.1424, allocations: 1.709 MB / 0.5596 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.1426, allocations: 7.938 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.1431, allocations: 143.2 kB / 0.5598 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.1438, allocations: 290.8 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1453, allocations: 0.5266 MB / 0.5606 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.1461, allocations: 0.5649 MB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1463, allocations: 53.05 kB / 0.5612 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.1466, allocations: 235 kB / 0.5614 GB, free: 344 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1469, allocations: 239 kB / 0.5616 GB, free: 104 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.147, allocations: 28 kB / 0.5617 GB, free: 76 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.1473, allocations: 183.8 kB / 0.5618 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.1476, allocations: 139.5 kB / 0.562 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.1478, allocations: 206.6 kB / 0.5622 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007767/0.1486, allocations: 0.5953 MB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1486, allocations: 3.938 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1486, allocations: 4 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1486, allocations: 0 / 0.5627 GB, free: 14.95 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001435/0.15, allocations: 0.9327 MB / 0.5637 GB, free: 13.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.15, allocations: 8.031 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.1501, allocations: 50.73 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1502, allocations: 60.56 kB / 0.5638 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.151, allocations: 484.5 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.151, allocations: 12.61 kB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.1511, allocations: 12.38 kB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1515, allocations: 261.1 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1516, allocations: 0 / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.1516, allocations: 11.98 kB / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1516, allocations: 4 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1519, allocations: 111.8 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.1531, allocations: 0.8836 MB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1539, allocations: 290.5 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.1541, allocations: 103.4 kB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1541, allocations: 4 kB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.1546, allocations: 222.6 kB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1546, allocations: 0 / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001043/0.1556, allocations: 401 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/0.1558, allocations: 354.1 kB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009021/0.1567, allocations: 0.6592 MB / 0.5674 GB, free: 9.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.1568, allocations: 45.64 kB / 0.5675 GB, free: 9.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.157, allocations: 236.5 kB / 0.5677 GB, free: 9.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.1571, allocations: 71.59 kB / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1572, allocations: 61.69 kB / 0.5678 GB, free: 9.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1574, allocations: 370.7 kB / 0.5682 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1576, allocations: 79.95 kB / 0.5683 GB, free: 8.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.158, allocations: 245.1 kB / 0.5685 GB, free: 8.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.1585, allocations: 235.7 kB / 0.5687 GB, free: 8.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1585, allocations: 0 / 0.5687 GB, free: 8.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007408/0.1592, allocations: 325 kB / 0.569 GB, free: 7.984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1593, allocations: 6.344 kB / 0.569 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.1593, allocations: 3.984 kB / 0.569 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1593, allocations: 4 kB / 0.5691 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.1596, allocations: 59.91 kB / 0.5691 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1596, allocations: 3.938 kB / 0.5691 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1598, allocations: 35.94 kB / 0.5691 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1598, allocations: 16 kB / 0.5692 GB, free: 7.859 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: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002995/0.1601, allocations: 218 kB / 0.5694 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1602, allocations: 55.62 kB / 0.5694 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1604, allocations: 56.25 kB / 0.5695 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1604, allocations: 8 kB / 0.5695 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1604, allocations: 3.938 kB / 0.5695 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1604, allocations: 7.984 kB / 0.5695 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.1609, allocations: 421.2 kB / 0.5699 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1609, allocations: 4 kB / 0.5699 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.161, allocations: 27.92 kB / 0.5699 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.161, allocations: 0 / 0.5699 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1611, allocations: 11.98 kB / 0.5699 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1611, allocations: 4 kB / 0.5699 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1611, allocations: 3.938 kB / 0.5699 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.1618, allocations: 370.9 kB / 0.5703 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.162, allocations: 132.8 kB / 0.5704 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.1621, allocations: 11.94 kB / 0.5704 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1622, allocations: 15.98 kB / 0.5705 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1623, allocations: 47.83 kB / 0.5705 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.1624, allocations: 8 kB / 0.5705 GB, free: 6.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006437/0.163, allocations: 0.491 MB / 0.571 GB, free: 5.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.163, allocations: 0 / 0.571 GB, free: 5.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.1635, allocations: 95.88 kB / 0.5711 GB, free: 5.789 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.002595/0.1661, allocations: 1.257 MB / 0.5723 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.1667, allocations: 219.9 kB / 0.5725 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1667, allocations: 0 / 0.5725 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.1671, allocations: 168.5 kB / 0.5727 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.1679, allocations: 148.1 kB / 0.5728 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.1742, allocations: 4.281 MB / 0.577 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.1747, allocations: 0.8467 MB / 0.5778 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.175, allocations: 83.23 kB / 0.5779 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.1752, allocations: 179.4 kB / 0.5781 GB, free: 14.56 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1752, allocations: 0 / 0.5781 GB, free: 14.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.2155, allocations: 12.84 MB / 0.5906 GB, free: 1.777 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.994/9.209, allocations: 8 kB / 0.5906 GB, free: 1.77 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.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.68803652888164]