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.001149/0.001149, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001347/0.001347, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.361/1.361, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.216/0.216, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.002294/0.002294, allocations: 79.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2961, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003625/0.2998, allocations: 2.343 MB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.3026, allocations: 1.72 MB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3028, allocations: 11.88 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.3032, allocations: 143.2 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.3038, allocations: 290.7 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3049, allocations: 0.5375 MB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.3056, allocations: 0.5766 MB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3057, allocations: 51.2 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.306, allocations: 243 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.3063, allocations: 243 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.3064, allocations: 24 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.3067, allocations: 211.7 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3069, allocations: 135.5 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3071, allocations: 202.6 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.3077, allocations: 0.6069 MB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3077, allocations: 0 / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3077, allocations: 0 / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3077, allocations: 0 / 0.5686 GB, free: 12.96 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.001232/0.309, allocations: 0.8536 MB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.309, allocations: 12.03 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.365e-05/0.309, allocations: 4.422 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.3091, allocations: 54.67 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3092, allocations: 56.56 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.3098, allocations: 413.4 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3098, allocations: 16.61 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3099, allocations: 20.36 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.3103, allocations: 268.6 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3103, allocations: 0 / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.3104, allocations: 7.938 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3104, allocations: 4 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.3107, allocations: 111.9 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3117, allocations: 0.8514 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.3124, allocations: 286.5 kB / 0.5715 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3126, allocations: 99.38 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3127, allocations: 8 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.3131, allocations: 218.6 kB / 0.5718 GB, free: 9.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.3131, allocations: 0 / 0.5718 GB, free: 9.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009349/0.314, allocations: 413 kB / 0.5722 GB, free: 9.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002755/0.3143, allocations: 346.1 kB / 0.5725 GB, free: 8.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.3151, allocations: 0.6708 MB / 0.5732 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.3151, allocations: 33.7 kB / 0.5732 GB, free: 7.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3153, allocations: 236.6 kB / 0.5734 GB, free: 7.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.3154, allocations: 67.47 kB / 0.5735 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.3155, allocations: 65.69 kB / 0.5736 GB, free: 7.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3157, allocations: 370.8 kB / 0.5739 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3159, allocations: 79.95 kB / 0.574 GB, free: 7.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.3163, allocations: 249 kB / 0.5742 GB, free: 6.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.3167, allocations: 227.7 kB / 0.5744 GB, free: 6.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3167, allocations: 4 kB / 0.5744 GB, free: 6.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006308/0.3174, allocations: 321.1 kB / 0.5748 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3174, allocations: 10.31 kB / 0.5748 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3174, allocations: 7.938 kB / 0.5748 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3174, allocations: 4 kB / 0.5748 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.3176, allocations: 59.83 kB / 0.5748 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3177, allocations: 7.938 kB / 0.5748 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3178, allocations: 27.88 kB / 0.5749 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3179, allocations: 12 kB / 0.5749 GB, free: 6.082 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.0002383/0.3181, allocations: 219 kB / 0.5751 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.3182, allocations: 63.62 kB / 0.5751 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.3189, allocations: 346 kB / 0.5755 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3189, allocations: 11.88 kB / 0.5755 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3189, allocations: 0 / 0.5755 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.319, allocations: 3.984 kB / 0.5755 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.3194, allocations: 396.3 kB / 0.5759 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3194, allocations: 0 / 0.5759 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3195, allocations: 31.92 kB / 0.5759 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3195, allocations: 0 / 0.5759 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3195, allocations: 7.984 kB / 0.5759 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3195, allocations: 7.938 kB / 0.5759 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3195, allocations: 0 / 0.5759 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.3202, allocations: 371 kB / 0.5763 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.3203, allocations: 59.59 kB / 0.5763 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.3204, allocations: 8 kB / 0.5763 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3205, allocations: 19.92 kB / 0.5764 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.3206, allocations: 35.95 kB / 0.5764 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.3207, allocations: 15.98 kB / 0.5764 GB, free: 4.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000569/0.3212, allocations: 494.8 kB / 0.5769 GB, free: 3.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3212, allocations: 4 kB / 0.5769 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.3216, allocations: 91.94 kB / 0.577 GB, free: 3.852 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 (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.002487/0.3241, allocations: 1.263 MB / 0.5782 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.3247, allocations: 223.6 kB / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3247, allocations: 0 / 0.5784 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.325, allocations: 155.8 kB / 0.5786 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.3257, allocations: 151.7 kB / 0.5787 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.3317, allocations: 4.286 MB / 0.5829 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.3322, allocations: 0.8467 MB / 0.5837 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.3324, allocations: 95.22 kB / 0.5838 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.3327, allocations: 179.4 kB / 0.584 GB, free: 12.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3327, allocations: 0 / 0.584 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.3678, allocations: 13.12 MB / 0.5968 GB, free: 15.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 7.328 kB / 0.5968 GB, free: 15.53 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.33038525300799] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 11.742840804974549 11.758097931 11.447122461 Calling exit ...