Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001321/0.001321, 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.001505/0.001505, allocations: 211 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2187/0.2187, allocations: 46.94 MB / 361.6 MB, free: 4.172 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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 79.86 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.314, allocations: 66.09 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003711/0.3177, allocations: 1.831 MB / 0.5633 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3197, allocations: 1.119 MB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.3197, allocations: 7.938 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.3202, allocations: 311.3 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3207, allocations: 251.2 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.3209, allocations: 111.6 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3213, allocations: 267.2 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.3214, allocations: 9.812 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3216, allocations: 143.5 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3218, allocations: 215.5 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.3219, allocations: 12 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.322, allocations: 47.92 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.3221, allocations: 143.5 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3223, allocations: 150.8 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.3227, allocations: 380.1 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3227, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3227, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3227, allocations: 0 / 0.5664 GB, free: 15.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009742/0.3237, allocations: 0.6863 MB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3237, allocations: 16.03 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.3238, allocations: 192 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.3238, allocations: 38.73 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.3239, allocations: 52.61 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.3245, allocations: 402.5 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3245, allocations: 384 / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3246, allocations: 8.375 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3248, allocations: 95.23 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3248, allocations: 0 / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3248, allocations: 7.984 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3248, allocations: 0 / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3249, allocations: 23.98 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3253, allocations: 365.4 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3256, allocations: 101.2 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.3257, allocations: 37.7 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3257, allocations: 3.938 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.326, allocations: 109 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.326, allocations: 0 / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004983/0.3265, allocations: 201.2 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3265, allocations: 81.11 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3277, allocations: 1.05 MB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3277, allocations: 29.7 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.3279, allocations: 244.1 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.3279, allocations: 27.8 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.328, allocations: 29.7 kB / 0.5699 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3282, allocations: 370.7 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.3283, allocations: 31.98 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.3284, allocations: 55.42 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3286, allocations: 95.84 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3286, allocations: 3.938 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003072/0.3289, allocations: 177.1 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3289, allocations: 6.188 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3289, allocations: 7.984 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3289, allocations: 4.062 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3291, allocations: 16 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3291, allocations: 7.984 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.3292, allocations: 11.94 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3292, allocations: 4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000242/0.3294, allocations: 227.9 kB / 0.5709 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.3295, allocations: 59.56 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.3299, allocations: 197.8 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3299, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3299, allocations: 4 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3299, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3303, allocations: 324.5 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3303, allocations: 0 / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.3303, allocations: 11.98 kB / 0.5714 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3303, allocations: 0 / 0.5714 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.3303, allocations: 8.234 kB / 0.5714 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3303, allocations: 0 / 0.5714 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3303, allocations: 4 kB / 0.5714 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3307, allocations: 229.4 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3309, allocations: 63.59 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.3309, allocations: 8 kB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.331, allocations: 4 kB / 0.5717 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.331, allocations: 11.98 kB / 0.5717 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3311, allocations: 11.98 kB / 0.5717 GB, free: 9.453 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009523/0.332, allocations: 0.78 MB / 0.5725 GB, free: 8.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.332, allocations: 0 / 0.5725 GB, free: 8.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3323, allocations: 48 kB / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002087/0.3344, allocations: 1.056 MB / 0.5736 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3347, allocations: 79.91 kB / 0.5737 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3347, allocations: 0 / 0.5737 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3348, allocations: 43.91 kB / 0.5737 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3352, allocations: 68.78 kB / 0.5738 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005771/0.341, allocations: 4.578 MB / 0.5782 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.3415, allocations: 0.8429 MB / 0.5791 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.3416, allocations: 62.94 kB / 0.5791 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3418, allocations: 159.3 kB / 0.5793 GB, free: 1.727 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3418, allocations: 0 / 0.5793 GB, free: 1.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3715, allocations: 9.398 MB / 0.5885 GB, free: 8.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 12.06 kB / 0.5885 GB, free: 8.363 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.491123544983566] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.91927295399364 11.935223558 11.609396851 Calling exit ...