Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001283/0.001283, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001456/0.001456, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.2306/0.2306, allocations: 46.94 MB / 361.7 MB, free: 4.289 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.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.88 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 66.04 MB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00329/0.3154, allocations: 1.74 MB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.3179, allocations: 1.746 MB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.3179, allocations: 0 / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3182, allocations: 35.77 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3185, allocations: 103.5 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3187, allocations: 79.72 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.3188, allocations: 99.64 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.3189, allocations: 17.81 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.319, allocations: 47.78 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3192, allocations: 51.77 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3192, allocations: 4 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.3194, allocations: 107.9 kB / 0.5654 GB, free: 416 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.3194, allocations: 19.91 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.3195, allocations: 39.69 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3197, allocations: 167.4 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3197, allocations: 3.984 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3197, allocations: 0 / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3197, allocations: 0 / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005608/0.3203, allocations: 351.8 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3203, allocations: 12.03 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.026e-05/0.3204, allocations: 192 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.3204, allocations: 34.75 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3204, allocations: 16.84 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3207, allocations: 164 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3207, allocations: 4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3207, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3209, allocations: 71.39 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3209, allocations: 0 / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3209, allocations: 7.938 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.3209, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.321, allocations: 19.98 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.3214, allocations: 263.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3215, allocations: 58.69 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.3216, allocations: 20.84 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3216, allocations: 0 / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.3218, allocations: 67.33 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3218, allocations: 0 / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005267/0.3223, allocations: 177.4 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.3223, allocations: 85.05 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3225, allocations: 162.1 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3225, allocations: 29.7 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.3226, allocations: 96.12 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3226, allocations: 27.75 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3227, allocations: 29.7 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3228, allocations: 318.8 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.3229, allocations: 27.98 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.3229, allocations: 38.56 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3231, allocations: 62.02 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3231, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3233, allocations: 93.64 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3233, allocations: 4 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3233, allocations: 12.06 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3233, allocations: 7.922 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.3234, allocations: 15.94 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3234, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.3234, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3235, allocations: 4 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000102/0.3236, allocations: 121.8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3236, allocations: 15.94 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.3238, allocations: 122.4 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3239, allocations: 7.938 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3239, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3239, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.3243, allocations: 374.3 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3243, allocations: 192 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.3244, allocations: 8 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3244, allocations: 7.938 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3244, allocations: 32 / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3244, allocations: 7.984 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3244, allocations: 0 / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3246, allocations: 204.2 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3246, allocations: 7.953 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3247, allocations: 4 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3248, allocations: 7.984 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3248, allocations: 8 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3248, allocations: 4 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.3249, allocations: 127.2 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3249, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.3252, allocations: 43.88 kB / 0.5688 GB, free: 12.58 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002417/0.3276, allocations: 1.195 MB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3278, allocations: 51.98 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3278, allocations: 0 / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.3279, allocations: 31.98 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3282, allocations: 27.86 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3301, allocations: 1.601 MB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3304, allocations: 0.7002 MB / 0.5724 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.3305, allocations: 17.28 kB / 0.5724 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.3305, allocations: 39.41 kB / 0.5724 GB, free: 8.992 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3305, allocations: 0 / 0.5724 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.3563, allocations: 4.234 MB / 0.5766 GB, free: 4.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.7, allocations: 3.938 kB / 0.5766 GB, free: 4.805 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.669116120028775] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.922692264022771 11.94877631 11.624290257 Calling exit ...