Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.00183/0.00183, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00228/0.00228, allocations: 216.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 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 63.91 kB / 0.4939 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3238, allocations: 65.47 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003186/0.327, allocations: 1.745 MB / 0.5596 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3288, allocations: 1.053 MB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.3289, allocations: 3.938 kB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3291, allocations: 55.75 kB / 0.5606 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.3295, allocations: 103.5 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3297, allocations: 83.66 kB / 0.5608 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3299, allocations: 95.77 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.33, allocations: 9.953 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3301, allocations: 51.72 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.3302, allocations: 35.78 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3302, allocations: 8 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.3303, allocations: 39.98 kB / 0.5611 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.3303, allocations: 31.84 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.3304, allocations: 39.69 kB / 0.5611 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3306, allocations: 139.4 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3306, allocations: 0 / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3306, allocations: 0 / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3306, allocations: 0 / 0.5613 GB, free: 4.25 MB / 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.0005454/0.3312, allocations: 381.2 kB / 0.5616 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.3312, allocations: 16.03 kB / 0.5616 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.611e-05/0.3312, allocations: 4.188 kB / 0.5616 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.3313, allocations: 30.75 kB / 0.5617 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.3313, allocations: 16.84 kB / 0.5617 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3316, allocations: 163.2 kB / 0.5618 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3316, allocations: 8.109 kB / 0.5618 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3316, allocations: 4 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3318, allocations: 53.67 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3318, allocations: 0 / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.3318, allocations: 4 kB / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3318, allocations: 0 / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.3319, allocations: 23.92 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3323, allocations: 271.9 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3324, allocations: 54.67 kB / 0.5622 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.3325, allocations: 28.84 kB / 0.5623 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3325, allocations: 3.938 kB / 0.5623 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.3326, allocations: 67.39 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.156e-06/0.3326, allocations: 3.984 kB / 0.5623 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.3332, allocations: 181.3 kB / 0.5625 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3333, allocations: 55.41 kB / 0.5626 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.3336, allocations: 279.7 kB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3336, allocations: 25.7 kB / 0.5629 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3337, allocations: 120.1 kB / 0.563 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3337, allocations: 27.78 kB / 0.563 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.3338, allocations: 21.72 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3339, allocations: 326.8 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.334, allocations: 19.98 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.334, allocations: 37.7 kB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3342, allocations: 65.64 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3342, allocations: 3.938 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.3344, allocations: 109.5 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3344, allocations: 4 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3344, allocations: 0 / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3344, allocations: 0 / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3345, allocations: 23.98 kB / 0.5636 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3345, allocations: 7.969 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.3346, allocations: 0 / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3346, allocations: 4 kB / 0.5636 GB, free: 1.641 MB / 398.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.0001159/0.3347, allocations: 136.6 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3347, allocations: 15.91 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.335, allocations: 123.1 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.335, allocations: 0 / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.335, allocations: 3.938 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.335, allocations: 7.984 kB / 0.5639 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.3354, allocations: 374.4 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3354, allocations: 0 / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.3355, allocations: 11.98 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3355, allocations: 3.938 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3355, allocations: 384 / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3355, allocations: 4 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3355, allocations: 0 / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.3357, allocations: 212.3 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.3358, allocations: 15.84 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3358, allocations: 7.984 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.3359, allocations: 0 / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.3359, allocations: 11.98 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.3359, allocations: 4 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3361, allocations: 200.6 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3361, allocations: 192 / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3364, allocations: 31.92 kB / 0.5647 GB, free: 416 kB / 398.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.002233/0.3386, allocations: 1.095 MB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3388, allocations: 59.91 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3388, allocations: 0 / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.3389, allocations: 23.98 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3393, allocations: 37.72 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3413, allocations: 1.835 MB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3417, allocations: 0.7236 MB / 0.5684 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.566e-05/0.3417, allocations: 12.98 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.3418, allocations: 47.34 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3418, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3649, allocations: 4.005 MB / 0.5724 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.69, allocations: 10.31 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.685489115014207] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.902543907985091 11.917666408 11.583859147 Calling exit ...