Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001246/0.001246, 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.001402/0.001402, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2205/0.2205, allocations: 46.95 MB / 361.6 MB, free: 3.926 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 83.86 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2855, allocations: 66.08 MB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002918/0.2885, allocations: 1.71 MB / 0.5632 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2901, allocations: 0.971 MB / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.2901, allocations: 0 / 0.5641 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2904, allocations: 43.77 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.2907, allocations: 99.53 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2909, allocations: 79.72 kB / 0.5643 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.2911, allocations: 103.6 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.2911, allocations: 13.81 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.2912, allocations: 47.78 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.2913, allocations: 35.8 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.2913, allocations: 4 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.2914, allocations: 39.98 kB / 0.5646 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.2915, allocations: 23.91 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.2915, allocations: 31.73 kB / 0.5646 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.2917, allocations: 123.5 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2917, allocations: 0 / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2917, allocations: 3.938 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2917, allocations: 0 / 0.5647 GB, free: 0.6836 MB / 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.0005218/0.2923, allocations: 349.5 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2923, allocations: 8.031 kB / 0.5651 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.253e-05/0.2923, allocations: 4.188 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2923, allocations: 34.75 kB / 0.5651 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.2924, allocations: 8.891 kB / 0.5651 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2926, allocations: 162.9 kB / 0.5653 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2926, allocations: 4.359 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2927, allocations: 4.375 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2928, allocations: 57.81 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2928, allocations: 0 / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2928, allocations: 4 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.2929, allocations: 0 / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.2929, allocations: 19.98 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.2933, allocations: 255.9 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2935, allocations: 62.61 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.2936, allocations: 20.84 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.2936, allocations: 4 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2937, allocations: 67.39 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2937, allocations: 4 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.2943, allocations: 181.3 kB / 0.5659 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2944, allocations: 59.41 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2946, allocations: 202.3 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.2946, allocations: 25.7 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.2946, allocations: 104.1 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.2947, allocations: 35.7 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2947, allocations: 21.72 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2949, allocations: 326.8 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.2949, allocations: 23.98 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.295, allocations: 41.7 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2951, allocations: 57.7 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2951, allocations: 4 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.2953, allocations: 105.5 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2953, allocations: 10.19 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2953, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2953, allocations: 4.125 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.2954, allocations: 12 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2954, allocations: 15.91 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.2955, allocations: 3.984 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2955, allocations: 4 kB / 0.5669 GB, free: 14.21 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.0001021/0.2956, allocations: 127.1 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.2956, allocations: 15.91 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2959, allocations: 127.1 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2959, allocations: 0 / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2959, allocations: 0 / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2959, allocations: 4 kB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.2964, allocations: 374.4 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.2964, allocations: 4 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2964, allocations: 8 kB / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2964, allocations: 0 / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.2964, allocations: 0 / 0.5676 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.2964, allocations: 7.938 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2964, allocations: 3.984 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.2967, allocations: 212.6 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.2967, allocations: 11.95 kB / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2967, allocations: 0 / 0.5678 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.2968, allocations: 19.95 kB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.2968, allocations: 0 / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2969, allocations: 11.98 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.297, allocations: 152.2 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.297, allocations: 0 / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2973, allocations: 27.92 kB / 0.568 GB, free: 13.04 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.002213/0.2995, allocations: 1.129 MB / 0.5691 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.2997, allocations: 59.86 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2997, allocations: 0 / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.2997, allocations: 31.92 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3001, allocations: 38.67 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3019, allocations: 1.674 MB / 0.5709 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.302, allocations: 92.17 kB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.3021, allocations: 20.91 kB / 0.571 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.3021, allocations: 31.42 kB / 0.571 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3021, allocations: 4 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3239, allocations: 3.802 MB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.1, allocations: 8.062 kB / 0.5747 GB, free: 6.23 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.871813612058759] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.311119449092075 11.326858712 11.031935931 Calling exit ...