Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001773/0.001773, 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.002389/0.002389, allocations: 214.8 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.37/1.37, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.2125/0.2125, allocations: 46.95 MB / 361.6 MB, free: 3.961 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 79.88 kB / 0.497 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 66.08 MB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003083/0.2917, allocations: 1.794 MB / 0.5632 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.2935, allocations: 1.041 MB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.2936, allocations: 0 / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.2941, allocations: 299.3 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.2946, allocations: 259.2 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2948, allocations: 107.6 kB / 0.5649 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.2951, allocations: 267.3 kB / 0.5651 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.2951, allocations: 5.812 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2953, allocations: 131.5 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2955, allocations: 215.9 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2956, allocations: 8 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.2957, allocations: 47.98 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.2958, allocations: 136.5 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2959, allocations: 115 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.2964, allocations: 372.1 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2964, allocations: 4 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2964, allocations: 0 / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2964, allocations: 4 kB / 0.5661 GB, free: 15.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009273/0.2973, allocations: 0.6747 MB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2973, allocations: 8.031 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.651e-05/0.2973, allocations: 8.125 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2974, allocations: 38.67 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.444e-05/0.2975, allocations: 48.61 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.298, allocations: 386.6 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.298, allocations: 384 / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.298, allocations: 4.375 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2982, allocations: 99.3 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2982, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2982, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2982, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.2984, allocations: 39.91 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.2987, allocations: 329.5 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.299, allocations: 101.2 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.2991, allocations: 41.7 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2991, allocations: 3.938 kB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2993, allocations: 116.9 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2993, allocations: 4 kB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.2998, allocations: 209.2 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.2999, allocations: 81.11 kB / 0.5682 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.301, allocations: 1.03 MB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.301, allocations: 29.7 kB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.3012, allocations: 236.1 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3012, allocations: 27.84 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.3013, allocations: 33.7 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3014, allocations: 366.8 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.3015, allocations: 31.98 kB / 0.5699 GB, free: 11.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3016, allocations: 62.78 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3018, allocations: 95.84 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3018, allocations: 0 / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003158/0.3021, allocations: 189.2 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3021, allocations: 6.031 kB / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3022, allocations: 0 / 0.5703 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3022, allocations: 4 kB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3023, allocations: 23.92 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3023, allocations: 0 / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.3024, allocations: 19.83 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3024, allocations: 4 kB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002157/0.3026, allocations: 228 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.3027, allocations: 55.61 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.3031, allocations: 201.8 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3031, allocations: 0 / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3031, allocations: 4 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3031, allocations: 3.984 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.3034, allocations: 288.5 kB / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3034, allocations: 256 / 0.5711 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.3034, allocations: 19.98 kB / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3034, allocations: 0 / 0.5711 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.3034, allocations: 8 kB / 0.5711 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3034, allocations: 0 / 0.5711 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3035, allocations: 0 / 0.5711 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.3038, allocations: 225.4 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3039, allocations: 67.59 kB / 0.5714 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.304, allocations: 3.938 kB / 0.5714 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.304, allocations: 15.92 kB / 0.5714 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.3041, allocations: 7.984 kB / 0.5714 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3041, allocations: 8 kB / 0.5714 GB, free: 9.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008075/0.3049, allocations: 0.7722 MB / 0.5722 GB, free: 8.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3049, allocations: 0 / 0.5722 GB, free: 8.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3052, allocations: 43.98 kB / 0.5722 GB, free: 8.719 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002085/0.3072, allocations: 1.087 MB / 0.5733 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3075, allocations: 79.89 kB / 0.5734 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3075, allocations: 0 / 0.5734 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3076, allocations: 47.92 kB / 0.5734 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.308, allocations: 76.19 kB / 0.5735 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.3132, allocations: 4.491 MB / 0.5779 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3135, allocations: 233.8 kB / 0.5781 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.3136, allocations: 59.44 kB / 0.5781 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3138, allocations: 147.4 kB / 0.5783 GB, free: 2.504 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3138, allocations: 0 / 0.5783 GB, free: 2.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3434, allocations: 9.507 MB / 0.5876 GB, free: 9.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.73, allocations: 9.719 kB / 0.5876 GB, free: 9.062 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.492672115098685] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 11.937463758978993 11.952352336 11.65304328 Calling exit ...