Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001247/0.001247, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00141/0.00141, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.418/1.418, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2317/0.2317, allocations: 46.95 MB / 361.6 MB, free: 3.914 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 83.86 kB / 0.497 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3108, allocations: 66.08 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003124/0.3139, allocations: 1.702 MB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3164, allocations: 1.66 MB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.3165, allocations: 0 / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3167, allocations: 35.77 kB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.3171, allocations: 107.5 kB / 0.5649 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.3173, allocations: 75.69 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3174, allocations: 111.7 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.3175, allocations: 13.83 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.3176, allocations: 43.78 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3177, allocations: 51.7 kB / 0.5652 GB, free: 200 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3178, allocations: 7.938 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.318, allocations: 99.94 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.318, allocations: 23.92 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.3181, allocations: 31.78 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3184, allocations: 167.4 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3184, allocations: 0 / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3184, allocations: 0 / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3184, allocations: 0 / 0.5655 GB, free: 15.87 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.0005817/0.319, allocations: 357.5 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.263e-05/0.3191, allocations: 12.03 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.04e-05/0.3191, allocations: 192 / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.3191, allocations: 34.75 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3192, allocations: 16.78 kB / 0.5659 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3195, allocations: 154.3 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3195, allocations: 8.109 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3195, allocations: 4 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3197, allocations: 93.09 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3197, allocations: 4 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3197, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3197, allocations: 4 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.3198, allocations: 23.92 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.3202, allocations: 260 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.3204, allocations: 54.67 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.3204, allocations: 20.8 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3204, allocations: 0 / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3206, allocations: 79.31 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3206, allocations: 0 / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005497/0.3212, allocations: 185.5 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.3212, allocations: 77.11 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3214, allocations: 170.4 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3214, allocations: 33.7 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3215, allocations: 96.12 kB / 0.5671 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3215, allocations: 27.75 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3216, allocations: 21.7 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3217, allocations: 326.8 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.3218, allocations: 20.19 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.3219, allocations: 80.2 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.322, allocations: 61.64 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.322, allocations: 0 / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.3222, allocations: 105.6 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3222, allocations: 4 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3222, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3222, allocations: 0 / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.3223, allocations: 23.92 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3223, allocations: 8 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.3224, allocations: 4 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3224, allocations: 4 kB / 0.5678 GB, free: 13.31 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.0001068/0.3225, allocations: 121.4 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3225, allocations: 11.94 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3228, allocations: 118.3 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3228, allocations: 0 / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3228, allocations: 7.938 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3228, allocations: 0 / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.3233, allocations: 374.4 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3233, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3233, allocations: 11.98 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3233, allocations: 7.938 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3233, allocations: 3.938 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3233, allocations: 0 / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3233, allocations: 3.938 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3236, allocations: 212.3 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.3236, allocations: 15.88 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3237, allocations: 4 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.3237, allocations: 4.031 kB / 0.5686 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3238, allocations: 11.98 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3238, allocations: 4 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3239, allocations: 132.3 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3239, allocations: 0 / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.3242, allocations: 51.81 kB / 0.5688 GB, free: 12.15 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 (9): * Single equations (assignments): 7 * 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.002484/0.3267, allocations: 1.228 MB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3269, allocations: 51.92 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3269, allocations: 4 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.321e-05/0.327, allocations: 31.92 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3273, allocations: 33.83 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.3293, allocations: 1.605 MB / 0.5717 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/0.3294, allocations: 93.27 kB / 0.5718 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.3294, allocations: 16.97 kB / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.3295, allocations: 39.34 kB / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3295, allocations: 0 / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.3668, allocations: 4.412 MB / 0.5762 GB, free: 4.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.09, allocations: 10.06 kB / 0.5762 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.978438811958767] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.302318857982755 11.317151811 10.995755992 Calling exit ...