Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001249/0.001249, 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.001408/0.001408, allocations: 208.7 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.412/1.412, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2156/0.2156, allocations: 46.95 MB / 361.6 MB, free: 3.934 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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 79.88 kB / 0.497 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2862, allocations: 66.08 MB / 0.5615 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002988/0.2892, allocations: 1.71 MB / 0.5632 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2909, allocations: 0.971 MB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.2909, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.2912, allocations: 47.75 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.2915, allocations: 103.5 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2917, allocations: 75.73 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.2919, allocations: 103.6 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.292, allocations: 17.81 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.2921, allocations: 39.8 kB / 0.5645 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.2921, allocations: 39.78 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2922, allocations: 4 kB / 0.5645 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.2923, allocations: 39.98 kB / 0.5646 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.2923, allocations: 23.91 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2924, allocations: 31.73 kB / 0.5646 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2926, allocations: 127.4 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2926, allocations: 0 / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2926, allocations: 0 / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2926, allocations: 0 / 0.5647 GB, free: 0.6719 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.0005074/0.2931, allocations: 357.5 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2931, allocations: 8.031 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.023e-05/0.2931, allocations: 192 / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.2932, allocations: 38.73 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.2932, allocations: 8.891 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.2934, allocations: 166.2 kB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2935, allocations: 384 / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2935, allocations: 4.375 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2936, allocations: 57.61 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2936, allocations: 0 / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2937, allocations: 4 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2937, allocations: 0 / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.2937, allocations: 19.98 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.2941, allocations: 267.9 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2943, allocations: 54.62 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2943, allocations: 20.84 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2944, allocations: 0 / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.2945, allocations: 71.33 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2945, allocations: 4 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.2951, allocations: 189.2 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2951, allocations: 59.39 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.2954, allocations: 218.2 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2954, allocations: 29.7 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.2954, allocations: 104.1 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2955, allocations: 27.83 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.2955, allocations: 25.66 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2957, allocations: 330.8 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.2957, allocations: 19.98 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.2958, allocations: 37.7 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2959, allocations: 61.7 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2959, allocations: 0 / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.2961, allocations: 105.9 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2961, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2961, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2962, allocations: 3.984 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.2962, allocations: 16 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2963, allocations: 7.969 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.2963, allocations: 7.938 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2963, allocations: 7.938 kB / 0.567 GB, free: 14.17 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.0001056/0.2964, allocations: 129.7 kB / 0.5671 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2964, allocations: 15.91 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.2967, allocations: 123.1 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2967, allocations: 3.984 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2967, allocations: 4 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2967, allocations: 0 / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.2972, allocations: 378.4 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2972, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.2972, allocations: 8 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2972, allocations: 0 / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2972, allocations: 8.219 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2972, allocations: 0 / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2972, allocations: 3.984 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2975, allocations: 220.2 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.2975, allocations: 15.88 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2975, allocations: 7.938 kB / 0.5679 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.2976, allocations: 12.02 kB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.2977, allocations: 4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2977, allocations: 4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.2978, allocations: 164.3 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2978, allocations: 3.938 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.2981, allocations: 20 kB / 0.5681 GB, free: 12.98 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.002206/0.3003, allocations: 1.128 MB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3005, allocations: 59.91 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3005, allocations: 0 / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.3005, allocations: 27.98 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3009, allocations: 23.98 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3028, allocations: 1.706 MB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.3028, allocations: 96.61 kB / 0.571 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.3029, allocations: 28.5 kB / 0.571 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.303, allocations: 39.42 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.303, allocations: 4 kB / 0.5711 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3252, allocations: 3.849 MB / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.24, allocations: 15.86 kB / 0.5749 GB, free: 6.082 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.081469546072185] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.448067525052465 11.462829051 11.167231465 Calling exit ...