Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001304/0.001304, 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.00143/0.00143, allocations: 212.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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2353/0.2353, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 66.03 MB / 0.5615 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003375/0.3193, allocations: 1.745 MB / 0.5632 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.322, allocations: 1.739 MB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.3221, allocations: 4 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3223, allocations: 35.78 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3227, allocations: 99.53 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3229, allocations: 87.66 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3231, allocations: 103.8 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.3232, allocations: 13.89 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3233, allocations: 51.72 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3234, allocations: 43.83 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3235, allocations: 8 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.3236, allocations: 107.9 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.3237, allocations: 19.92 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3237, allocations: 31.8 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.324, allocations: 175.3 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.324, allocations: 0 / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.324, allocations: 8 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3241, allocations: 0 / 0.5656 GB, free: 208 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.0005863/0.3246, allocations: 353.5 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3247, allocations: 8.031 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.218e-05/0.3247, allocations: 192 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.3247, allocations: 34.75 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3248, allocations: 12.84 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3251, allocations: 150.5 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3251, allocations: 8 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3251, allocations: 7.938 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3253, allocations: 71.33 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3253, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3253, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3253, allocations: 4 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.3254, allocations: 15.98 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3258, allocations: 267.9 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3259, allocations: 54.62 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.326, allocations: 20.84 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.326, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3262, allocations: 75.39 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3262, allocations: 0 / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.3267, allocations: 177.3 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.3268, allocations: 77.11 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.327, allocations: 166.1 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.327, allocations: 29.7 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.3271, allocations: 100.1 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3271, allocations: 27.69 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3271, allocations: 29.7 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3273, allocations: 322.8 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.3273, allocations: 20 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.3274, allocations: 42.5 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3275, allocations: 61.7 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3275, allocations: 4.031 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.3277, allocations: 101.5 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3278, allocations: 8 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3278, allocations: 160 / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3278, allocations: 7.922 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.3279, allocations: 12 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3279, allocations: 7.984 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.3279, allocations: 7.984 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.3279, allocations: 4 kB / 0.5678 GB, free: 13.74 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.0001026/0.328, allocations: 121.8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3281, allocations: 11.95 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.3283, allocations: 110.4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3283, allocations: 3.938 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3283, allocations: 3.938 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3283, allocations: 0 / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.3288, allocations: 370.3 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3288, allocations: 8.031 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.3288, allocations: 8 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3288, allocations: 3.984 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3288, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3288, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3288, allocations: 4 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3291, allocations: 204.2 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.3291, allocations: 11.95 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3291, allocations: 4.375 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.3292, allocations: 7.984 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3293, allocations: 4 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3293, allocations: 7.984 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3294, allocations: 123.2 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3294, allocations: 0 / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.3297, allocations: 52.05 kB / 0.5688 GB, free: 12.61 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.002424/0.3321, allocations: 1.192 MB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3324, allocations: 55.92 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3324, allocations: 0 / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.3324, allocations: 27.98 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3328, allocations: 34.56 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3348, allocations: 1.605 MB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3351, allocations: 0.6963 MB / 0.5724 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.3352, allocations: 20.97 kB / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.3353, allocations: 39.36 kB / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3353, allocations: 4 kB / 0.5724 GB, free: 9.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.3599, allocations: 4.227 MB / 0.5766 GB, free: 4.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 3.938 kB / 0.5766 GB, free: 4.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.612629996030591] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.86277666699607 11.890932972 11.562505167 Calling exit ...