Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001252/0.001252, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001346/0.001346, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.372/1.372, 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.2136/0.2136, allocations: 46.96 MB / 361.6 MB, free: 3.922 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 79.88 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2821, allocations: 66.08 MB / 0.5615 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003135/0.2853, allocations: 1.786 MB / 0.5632 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2872, allocations: 1.037 MB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2873, allocations: 0 / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.2878, allocations: 315.3 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2882, allocations: 259.2 kB / 0.5648 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.2885, allocations: 111.6 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2888, allocations: 271.2 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.2888, allocations: 5.812 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.289, allocations: 127.6 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2893, allocations: 231.3 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2893, allocations: 8 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2894, allocations: 47.98 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.2895, allocations: 139.6 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2897, allocations: 111 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.2901, allocations: 388 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2901, allocations: 4 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2901, allocations: 0 / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2901, allocations: 0 / 0.5662 GB, free: 15.2 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.001155/0.2913, allocations: 0.6825 MB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2913, allocations: 8.031 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.653e-05/0.2913, allocations: 8.125 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2914, allocations: 34.73 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.2914, allocations: 48.61 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.2921, allocations: 394.5 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2921, allocations: 12.36 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2921, allocations: 4.375 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2923, allocations: 99.28 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2923, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2923, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2923, allocations: 3.938 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2925, allocations: 35.97 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.2929, allocations: 333.4 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2932, allocations: 109.2 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2933, allocations: 41.69 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2933, allocations: 7.938 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.2935, allocations: 105 kB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2935, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004903/0.294, allocations: 209.2 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2941, allocations: 81.11 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2953, allocations: 1.065 MB / 0.5693 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2953, allocations: 25.7 kB / 0.5694 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2955, allocations: 240.1 kB / 0.5696 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2956, allocations: 27.8 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.2957, allocations: 25.72 kB / 0.5697 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2959, allocations: 374.8 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.296, allocations: 35.92 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2961, allocations: 59.41 kB / 0.5701 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2963, allocations: 99.86 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2963, allocations: 0 / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003159/0.2966, allocations: 181.2 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2966, allocations: 8 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2966, allocations: 0 / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2966, allocations: 3.938 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2967, allocations: 23.98 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2967, allocations: 0 / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2968, allocations: 15.98 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2968, allocations: 4 kB / 0.5704 GB, free: 10.59 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.0002205/0.2971, allocations: 223.9 kB / 0.5706 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.2971, allocations: 67.48 kB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.2975, allocations: 201.8 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2975, allocations: 4 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2975, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2976, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.2979, allocations: 296.8 kB / 0.5712 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2979, allocations: 8 kB / 0.5712 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.2979, allocations: 15.98 kB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2979, allocations: 0 / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2979, allocations: 8 kB / 0.5712 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2979, allocations: 0 / 0.5712 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.298, allocations: 0 / 0.5712 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.2983, allocations: 229.4 kB / 0.5714 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2985, allocations: 63.59 kB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.2985, allocations: 8 kB / 0.5715 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.2986, allocations: 4 kB / 0.5715 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.2987, allocations: 15.98 kB / 0.5715 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.2987, allocations: 11.92 kB / 0.5715 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008344/0.2995, allocations: 0.7878 MB / 0.5723 GB, free: 8.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2995, allocations: 0 / 0.5723 GB, free: 8.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.2998, allocations: 44 kB / 0.5723 GB, free: 8.543 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.002174/0.302, allocations: 1.089 MB / 0.5734 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3022, allocations: 83.89 kB / 0.5735 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3022, allocations: 4.125 kB / 0.5735 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3024, allocations: 55.89 kB / 0.5735 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3028, allocations: 63.98 kB / 0.5736 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.3085, allocations: 4.582 MB / 0.5781 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3088, allocations: 253.7 kB / 0.5783 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.3089, allocations: 55.44 kB / 0.5784 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.3091, allocations: 155.4 kB / 0.5785 GB, free: 2.199 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3091, allocations: 0 / 0.5785 GB, free: 2.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.3396, allocations: 9.667 MB / 0.588 GB, free: 8.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.82, allocations: 3.75 kB / 0.588 GB, free: 8.609 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.572576698032208] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.032897736993618 12.048778979 11.75563334 Calling exit ...