Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.00144/0.00144, allocations: 121 kB / 18.5 MB, free: 4.562 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.00166/0.00166, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.8 MB, free: 15.09 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.2283/0.2283, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 65.98 MB / 0.556 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004606/0.137, allocations: 2.341 MB / 0.5583 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1405, allocations: 1.701 MB / 0.56 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.1411, allocations: 11.88 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.1417, allocations: 143.2 kB / 0.5601 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1428, allocations: 286.8 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1447, allocations: 0.5175 MB / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1458, allocations: 0.5804 MB / 0.5615 GB, free: 244 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.146, allocations: 45.06 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.1466, allocations: 247 kB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.1471, allocations: 242.9 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.1472, allocations: 31.94 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.1477, allocations: 183.8 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.1479, allocations: 131.5 kB / 0.5623 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.1482, allocations: 202.6 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.1492, allocations: 0.603 MB / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1492, allocations: 0 / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1492, allocations: 0 / 0.5631 GB, free: 14.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.1492, allocations: 0 / 0.5631 GB, free: 14.57 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.001957/0.1512, allocations: 0.9328 MB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1513, allocations: 8.031 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.433e-05/0.1513, allocations: 8.422 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.122e-05/0.1513, allocations: 42.73 kB / 0.5641 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.1515, allocations: 60.56 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008942/0.1524, allocations: 488.5 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1525, allocations: 16.34 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1525, allocations: 20 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.1531, allocations: 270.9 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1531, allocations: 3.938 kB / 0.5649 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1531, allocations: 8 kB / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1531, allocations: 0 / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.1535, allocations: 107.9 kB / 0.565 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.1549, allocations: 0.8912 MB / 0.5659 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.1556, allocations: 274.6 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.1559, allocations: 111.3 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.1559, allocations: 12.22 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.1565, allocations: 210.6 kB / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.044e-06/0.1565, allocations: 0 / 0.5665 GB, free: 10.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001204/0.1577, allocations: 413 kB / 0.5669 GB, free: 10.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/0.1579, allocations: 342.1 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.1589, allocations: 0.667 MB / 0.5678 GB, free: 9.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.159, allocations: 33.7 kB / 0.5679 GB, free: 9.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.1592, allocations: 240.5 kB / 0.5681 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.1593, allocations: 67.53 kB / 0.5682 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1594, allocations: 65.69 kB / 0.5682 GB, free: 8.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1596, allocations: 370.8 kB / 0.5686 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1599, allocations: 83.95 kB / 0.5687 GB, free: 8.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1603, allocations: 237.1 kB / 0.5689 GB, free: 8.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.1608, allocations: 239.7 kB / 0.5691 GB, free: 7.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1608, allocations: 0 / 0.5691 GB, free: 7.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007883/0.1616, allocations: 321 kB / 0.5694 GB, free: 7.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1617, allocations: 9.719 kB / 0.5694 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1617, allocations: 8.062 kB / 0.5694 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1617, allocations: 7.938 kB / 0.5694 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.162, allocations: 51.91 kB / 0.5695 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.162, allocations: 11.97 kB / 0.5695 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1622, allocations: 31.83 kB / 0.5695 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1623, allocations: 11.98 kB / 0.5695 GB, free: 7.461 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.0003122/0.1626, allocations: 220.2 kB / 0.5697 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1627, allocations: 63.61 kB / 0.5698 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1628, allocations: 68.19 kB / 0.5699 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1628, allocations: 4 kB / 0.5699 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1628, allocations: 0 / 0.5699 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1628, allocations: 0 / 0.5699 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1634, allocations: 421.2 kB / 0.5703 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1634, allocations: 4 kB / 0.5703 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1635, allocations: 23.92 kB / 0.5703 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1635, allocations: 4 kB / 0.5703 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.1635, allocations: 15.92 kB / 0.5703 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1635, allocations: 4 kB / 0.5703 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1635, allocations: 4 kB / 0.5703 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.1643, allocations: 366.1 kB / 0.5707 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1645, allocations: 124.8 kB / 0.5708 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.1645, allocations: 19.94 kB / 0.5708 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1647, allocations: 15.98 kB / 0.5708 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1648, allocations: 35.95 kB / 0.5709 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.1649, allocations: 19.98 kB / 0.5709 GB, free: 5.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.1655, allocations: 486.8 kB / 0.5714 GB, free: 5.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1655, allocations: 0 / 0.5714 GB, free: 5.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.1659, allocations: 103.9 kB / 0.5715 GB, free: 5.398 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.002744/0.1687, allocations: 1.259 MB / 0.5727 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.1694, allocations: 231.9 kB / 0.5729 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.1694, allocations: 4 kB / 0.5729 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.1698, allocations: 155.8 kB / 0.5731 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.1705, allocations: 153.9 kB / 0.5732 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.177, allocations: 4.282 MB / 0.5774 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.1776, allocations: 0.8506 MB / 0.5782 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.1779, allocations: 83.25 kB / 0.5783 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.1782, allocations: 179.4 kB / 0.5785 GB, free: 14.17 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1782, allocations: 0 / 0.5785 GB, free: 14.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.2123, allocations: 12.88 MB / 0.591 GB, free: 1.371 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.142/9.355, allocations: 8.062 kB / 0.5911 GB, free: 1.363 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.728933137026615] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.803058918041643 9.823437822 9.670364543 Calling exit ...