Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001272/0.001272, 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.001353/0.001353, 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.379/1.379, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2241/0.2241, allocations: 46.91 MB / 361.6 MB, free: 4.168 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 80.19 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3205, allocations: 66.08 MB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003049/0.3235, allocations: 1.733 MB / 0.5633 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3261, allocations: 1.75 MB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.3261, allocations: 3.938 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3264, allocations: 27.84 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.3267, allocations: 99.53 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.3269, allocations: 79.67 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3271, allocations: 115.6 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.3271, allocations: 9.969 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.86e-05/0.3272, allocations: 51.78 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3274, allocations: 43.83 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3274, allocations: 11.94 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3276, allocations: 103.9 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.3276, allocations: 23.92 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.3277, allocations: 35.78 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.328, allocations: 171.3 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.328, allocations: 4 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.328, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.328, allocations: 0 / 0.5657 GB, free: 15.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006262/0.3286, allocations: 357.4 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3287, allocations: 8.031 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.3287, allocations: 192 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3287, allocations: 42.73 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.3288, allocations: 12.84 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.329, allocations: 150.3 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.329, allocations: 4.125 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3291, allocations: 8 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3292, allocations: 71.33 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3293, allocations: 3.984 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3293, allocations: 4 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3293, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.3293, allocations: 15.98 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.3297, allocations: 263.9 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3299, allocations: 62.61 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.3299, allocations: 16.86 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.33, allocations: 0 / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3301, allocations: 67.39 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3301, allocations: 0 / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005271/0.3306, allocations: 169.4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.3307, allocations: 81.11 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3309, allocations: 166.4 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3309, allocations: 29.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.331, allocations: 100.1 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.331, allocations: 31.73 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.331, allocations: 21.72 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3312, allocations: 318.8 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.3313, allocations: 27.98 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.3313, allocations: 46.5 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3315, allocations: 57.78 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3315, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002738/0.3317, allocations: 101.5 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3318, allocations: 12.12 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3318, allocations: 4.062 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3318, allocations: 3.938 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.3319, allocations: 16.38 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3319, allocations: 7.922 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.3319, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3319, allocations: 8 kB / 0.5679 GB, free: 13.51 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.0001154/0.332, allocations: 125.3 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3321, allocations: 7.953 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3323, allocations: 114.4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3323, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3323, allocations: 3.938 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3323, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3328, allocations: 370.3 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3328, allocations: 0 / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.3328, allocations: 15.97 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3328, allocations: 3.938 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3328, allocations: 0 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3328, allocations: 11.97 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3328, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3331, allocations: 196.3 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.3331, allocations: 11.89 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3331, allocations: 7.984 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3332, allocations: 4 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3333, allocations: 11.98 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3333, allocations: 0 / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3334, allocations: 131.9 kB / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 0.5689 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3337, allocations: 47.86 kB / 0.5689 GB, free: 12.38 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.002388/0.3361, allocations: 1.191 MB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3363, allocations: 59.91 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3363, allocations: 0 / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.3363, allocations: 35.98 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3367, allocations: 32.27 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3385, allocations: 1.581 MB / 0.5718 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.3389, allocations: 0.7118 MB / 0.5724 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.339, allocations: 16.97 kB / 0.5725 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.339, allocations: 35.42 kB / 0.5725 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.339, allocations: 0 / 0.5725 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3654, allocations: 4.228 MB / 0.5766 GB, free: 4.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11, allocations: 11.86 kB / 0.5766 GB, free: 4.543 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.82239391002804] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.214789994992316 11.229671772 10.898666455 Calling exit ...