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.001459/0.001459, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001766/0.001766, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.365/1.365, allocations: 230.5 MB / 258.2 MB, free: 7.781 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.2117/0.2117, allocations: 46.93 MB / 361.6 MB, free: 3.91 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.002479/0.002479, allocations: 79.88 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2905, allocations: 66.08 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003623/0.2941, allocations: 2.199 MB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.2968, allocations: 1.625 MB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.297, allocations: 7.938 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.2973, allocations: 139.2 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.2979, allocations: 298.7 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2991, allocations: 0.5416 MB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.2997, allocations: 0.5726 MB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2998, allocations: 55.06 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.3001, allocations: 239 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.3004, allocations: 246.9 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.3005, allocations: 28 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.3008, allocations: 195.8 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.301, allocations: 139.4 kB / 0.5675 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.3011, allocations: 155 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.3018, allocations: 0.6108 MB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3018, allocations: 0 / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3018, allocations: 0 / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.3018, allocations: 0 / 0.5683 GB, free: 12.97 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001231/0.3031, allocations: 0.8691 MB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3031, allocations: 8.031 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3031, allocations: 8.422 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.3032, allocations: 42.73 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.3033, allocations: 60.56 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.3039, allocations: 414.4 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3039, allocations: 12.61 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3039, allocations: 12.38 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.3045, allocations: 478.5 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3046, allocations: 4 kB / 0.5701 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3046, allocations: 4 kB / 0.5701 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3046, allocations: 4 kB / 0.5701 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3049, allocations: 119.9 kB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.306, allocations: 0.8242 MB / 0.5711 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.3067, allocations: 290.5 kB / 0.5713 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.3069, allocations: 111.4 kB / 0.5714 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3069, allocations: 4 kB / 0.5714 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/0.3073, allocations: 226.5 kB / 0.5717 GB, free: 9.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.3073, allocations: 0 / 0.5717 GB, free: 9.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009843/0.3083, allocations: 433 kB / 0.5721 GB, free: 8.777 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.3085, allocations: 350.1 kB / 0.5724 GB, free: 8.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.3093, allocations: 0.6747 MB / 0.5731 GB, free: 7.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.3094, allocations: 37.7 kB / 0.5731 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.3096, allocations: 236.6 kB / 0.5733 GB, free: 7.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.3096, allocations: 63.53 kB / 0.5734 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3097, allocations: 69.62 kB / 0.5735 GB, free: 7.254 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3099, allocations: 370.8 kB / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3102, allocations: 83.95 kB / 0.5739 GB, free: 6.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.3107, allocations: 0.5523 MB / 0.5744 GB, free: 6.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.3112, allocations: 243.7 kB / 0.5747 GB, free: 5.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3112, allocations: 3.938 kB / 0.5747 GB, free: 5.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006765/0.3118, allocations: 337.1 kB / 0.575 GB, free: 5.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3119, allocations: 4 kB / 0.575 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3119, allocations: 4 kB / 0.575 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3119, allocations: 4 kB / 0.575 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3121, allocations: 59.84 kB / 0.575 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3122, allocations: 4 kB / 0.5751 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.3124, allocations: 31.81 kB / 0.5751 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3124, allocations: 11.98 kB / 0.5751 GB, free: 5.395 MB / 414.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.0002544/0.3126, allocations: 217.8 kB / 0.5753 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.3127, allocations: 67.64 kB / 0.5754 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008138/0.3135, allocations: 377.9 kB / 0.5757 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3135, allocations: 7.938 kB / 0.5757 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3136, allocations: 4 kB / 0.5757 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3136, allocations: 3.984 kB / 0.5757 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.314, allocations: 356.4 kB / 0.5761 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.314, allocations: 0 / 0.5761 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3141, allocations: 35.92 kB / 0.5761 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.3141, allocations: 7.984 kB / 0.5761 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3142, allocations: 8 kB / 0.5761 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3142, allocations: 3.938 kB / 0.5761 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3142, allocations: 4 kB / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.3149, allocations: 391.2 kB / 0.5765 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.315, allocations: 59.59 kB / 0.5766 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.3151, allocations: 19.94 kB / 0.5766 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3152, allocations: 19.92 kB / 0.5766 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3153, allocations: 47.88 kB / 0.5767 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.3154, allocations: 15.98 kB / 0.5767 GB, free: 3.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005685/0.3159, allocations: 494.8 kB / 0.5771 GB, free: 3.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3159, allocations: 0 / 0.5771 GB, free: 3.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.3164, allocations: 103.9 kB / 0.5772 GB, free: 3.109 MB / 414.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.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.002615/0.319, allocations: 1.305 MB / 0.5785 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.3196, allocations: 235.7 kB / 0.5787 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3196, allocations: 7.938 kB / 0.5787 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.3199, allocations: 171.8 kB / 0.5789 GB, free: 1.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.3206, allocations: 164.5 kB / 0.5791 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.3263, allocations: 4.344 MB / 0.5833 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.3265, allocations: 250.1 kB / 0.5835 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.3268, allocations: 83.25 kB / 0.5836 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.327, allocations: 179.4 kB / 0.5838 GB, free: 12.33 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.327, allocations: 0 / 0.5838 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.3637, allocations: 13.94 MB / 0.5974 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.65, allocations: 4.062 kB / 0.5974 GB, free: 14.48 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.469606036087498] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 11.879900802043267 11.904648018 11.598318139 Calling exit ...