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.001578/0.001578, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001633/0.001633, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.433/1.433, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2238/0.2238, allocations: 46.92 MB / 357.7 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 79.88 kB / 0.4916 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1192, allocations: 66.05 MB / 0.5561 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00349/0.1227, allocations: 2.331 MB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1255, allocations: 1.709 MB / 0.5601 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.1258, allocations: 11.88 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.1263, allocations: 139.2 kB / 0.5602 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.127, allocations: 286.8 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1286, allocations: 0.5255 MB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007455/0.1293, allocations: 0.5765 MB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1295, allocations: 53.05 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.1297, allocations: 235 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.13, allocations: 246.9 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.1301, allocations: 24 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.1304, allocations: 191.8 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1306, allocations: 131.5 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1307, allocations: 202.7 kB / 0.5626 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.1314, allocations: 0.5991 MB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1314, allocations: 0 / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1314, allocations: 0 / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1314, allocations: 0 / 0.5632 GB, free: 14.3 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.001302/0.1327, allocations: 0.9405 MB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1328, allocations: 12.03 kB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.103e-05/0.1328, allocations: 432 / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1328, allocations: 46.73 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.133, allocations: 56.56 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.1337, allocations: 484.5 kB / 0.5647 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1337, allocations: 16.61 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1337, allocations: 16.36 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.1342, allocations: 268.6 kB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1342, allocations: 11.94 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.1342, allocations: 7.984 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1342, allocations: 4 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.1346, allocations: 107.9 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1356, allocations: 0.8836 MB / 0.566 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.1363, allocations: 282.6 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1365, allocations: 103.3 kB / 0.5663 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.1366, allocations: 11.94 kB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.137, allocations: 210.6 kB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.137, allocations: 0 / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009815/0.138, allocations: 409.1 kB / 0.5669 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.1382, allocations: 354 kB / 0.5673 GB, free: 9.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.139, allocations: 0.6592 MB / 0.5679 GB, free: 9.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.139, allocations: 37.69 kB / 0.568 GB, free: 9.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.1392, allocations: 240.5 kB / 0.5682 GB, free: 8.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.1393, allocations: 63.59 kB / 0.5682 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1394, allocations: 69.69 kB / 0.5683 GB, free: 8.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1396, allocations: 366.8 kB / 0.5687 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.1398, allocations: 80.95 kB / 0.5687 GB, free: 8.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1401, allocations: 249 kB / 0.569 GB, free: 7.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.1406, allocations: 230.8 kB / 0.5692 GB, free: 7.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1406, allocations: 4 kB / 0.5692 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006517/0.1413, allocations: 321 kB / 0.5695 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1413, allocations: 8.125 kB / 0.5695 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1413, allocations: 4 kB / 0.5695 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1413, allocations: 4 kB / 0.5695 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1416, allocations: 59.84 kB / 0.5696 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1416, allocations: 4 kB / 0.5696 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1418, allocations: 32.06 kB / 0.5696 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.1418, allocations: 12 kB / 0.5696 GB, free: 7.203 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.0002376/0.142, allocations: 217.7 kB / 0.5698 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.1421, allocations: 63.62 kB / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.1422, allocations: 56.25 kB / 0.5699 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1422, allocations: 7.938 kB / 0.57 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1422, allocations: 4 kB / 0.57 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.1422, allocations: 7.969 kB / 0.57 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.1427, allocations: 417.2 kB / 0.5704 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1427, allocations: 0 / 0.5704 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1428, allocations: 27.92 kB / 0.5704 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1428, allocations: 4 kB / 0.5704 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1428, allocations: 11.98 kB / 0.5704 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1428, allocations: 7.938 kB / 0.5704 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1428, allocations: 4 kB / 0.5704 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1435, allocations: 366.9 kB / 0.5708 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1436, allocations: 128.8 kB / 0.5709 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.1437, allocations: 16 kB / 0.5709 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1439, allocations: 15.92 kB / 0.5709 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.1439, allocations: 43.95 kB / 0.571 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.144, allocations: 16 kB / 0.571 GB, free: 5.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000557/0.1445, allocations: 494.7 kB / 0.5715 GB, free: 5.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1445, allocations: 0 / 0.5715 GB, free: 5.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000418/0.145, allocations: 99.88 kB / 0.5715 GB, free: 5.129 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.002569/0.1475, allocations: 1.271 MB / 0.5728 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005786/0.1481, allocations: 219.6 kB / 0.573 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1481, allocations: 0 / 0.573 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.1485, allocations: 155.8 kB / 0.5731 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.1492, allocations: 134.7 kB / 0.5733 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.1551, allocations: 4.301 MB / 0.5775 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.1556, allocations: 0.8389 MB / 0.5783 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.1559, allocations: 87.23 kB / 0.5784 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.1561, allocations: 179.4 kB / 0.5785 GB, free: 13.89 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1561, allocations: 0 / 0.5785 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.1872, allocations: 12.88 MB / 0.5911 GB, free: 1.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/8.828, allocations: 6.594 kB / 0.5911 GB, free: 1.066 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] [Calling os._exit(0), Time elapsed: 11.986029648978729] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.205070750031155 9.217072243 9.083401687 Calling exit ...