Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001726/0.001726, 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.002198/0.002198, allocations: 209.5 kB / 24.52 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.371/1.371, 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.2173/0.2173, 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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 83.86 kB / 0.497 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2908, allocations: 66.07 MB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003037/0.2938, allocations: 1.736 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2954, allocations: 0.9709 MB / 0.5641 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.2955, allocations: 0 / 0.5641 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.2958, allocations: 111.6 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.2961, allocations: 127.5 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.2963, allocations: 83.61 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.2964, allocations: 127.7 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.2965, allocations: 13.81 kB / 0.5646 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.2966, allocations: 63.69 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2967, allocations: 71.8 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2968, allocations: 4 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2969, allocations: 59.98 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.2969, allocations: 27.84 kB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.297, allocations: 43.67 kB / 0.5648 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2972, allocations: 147.3 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2972, allocations: 4 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2972, allocations: 0 / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2972, allocations: 4 kB / 0.565 GB, free: 412 kB / 398.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.0005219/0.2977, allocations: 373.3 kB / 0.5654 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2978, allocations: 12.08 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.038e-05/0.2978, allocations: 192 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2978, allocations: 34.69 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2979, allocations: 16.84 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2981, allocations: 170.3 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.2981, allocations: 4.375 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.2981, allocations: 8.328 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2983, allocations: 57.61 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2983, allocations: 8 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2983, allocations: 7.984 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2983, allocations: 0 / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.2984, allocations: 19.98 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.2988, allocations: 283.8 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.299, allocations: 58.55 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.2991, allocations: 20.97 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.2991, allocations: 4 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2992, allocations: 71.39 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2992, allocations: 7.875 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007308/0.3, allocations: 249.3 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3, allocations: 55.41 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.3002, allocations: 250.7 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3003, allocations: 33.7 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.3003, allocations: 112.1 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.3004, allocations: 39.69 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.3004, allocations: 25.72 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3006, allocations: 334.8 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.3007, allocations: 31.92 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.3008, allocations: 45.7 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3009, allocations: 81.64 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3009, allocations: 0 / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002331/0.3011, allocations: 129.6 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3012, allocations: 6.188 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3012, allocations: 4 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3012, allocations: 8.031 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.3013, allocations: 23.92 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3013, allocations: 4.641 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3013, allocations: 8 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3013, allocations: 7.938 kB / 0.5675 GB, free: 13.64 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 (13): * Single equations (assignments): 13 * 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.0001135/0.3014, allocations: 131.1 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.3015, allocations: 19.89 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.3018, allocations: 159 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3018, allocations: 0 / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3018, allocations: 3.938 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3018, allocations: 7.984 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.3024, allocations: 431.1 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3024, allocations: 3.938 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.3024, allocations: 12 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3024, allocations: 0 / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3024, allocations: 8 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3025, allocations: 0 / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3025, allocations: 4 kB / 0.5682 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3028, allocations: 249.2 kB / 0.5685 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.3028, allocations: 19.78 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3028, allocations: 7.984 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3029, allocations: 4 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3029, allocations: 7.984 kB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3029, allocations: 8 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3031, allocations: 192.2 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3031, allocations: 0 / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3034, allocations: 35.92 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002662/0.306, allocations: 1.212 MB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3063, allocations: 79.84 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3063, allocations: 4 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.3064, allocations: 39.86 kB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3067, allocations: 35.75 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3088, allocations: 1.903 MB / 0.5719 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3089, allocations: 105.1 kB / 0.572 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.309, allocations: 12.64 kB / 0.572 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.3091, allocations: 55.41 kB / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3091, allocations: 0 / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.332, allocations: 4.392 MB / 0.5764 GB, free: 4.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.13, allocations: 14.27 kB / 0.5764 GB, free: 4.512 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.9311150329886] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.348438189947046 11.374666653 11.072539894 Calling exit ...