Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001312/0.001312, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.0014/0.0014, allocations: 211 kB / 24.53 MB, free: 4.07 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2185/0.2185, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 66.08 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002991/0.2917, allocations: 1.745 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2934, allocations: 1.049 MB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.2934, allocations: 4 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.2937, allocations: 83.69 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.2941, allocations: 119.5 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2942, allocations: 75.72 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.2944, allocations: 119.7 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.2945, allocations: 13.95 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2946, allocations: 55.72 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2947, allocations: 63.8 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2948, allocations: 4 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2949, allocations: 47.92 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.2949, allocations: 27.91 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.295, allocations: 39.67 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.2952, allocations: 119.5 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2952, allocations: 0 / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2952, allocations: 0 / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.2952, allocations: 4 kB / 0.565 GB, free: 0.6992 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.0005196/0.2957, allocations: 357.5 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2958, allocations: 8.031 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.15e-05/0.2958, allocations: 192 / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.2958, allocations: 42.69 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.2958, allocations: 12.84 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.2961, allocations: 166.2 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2961, allocations: 8.375 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2961, allocations: 384 / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2963, allocations: 57.61 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2963, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2963, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.2963, allocations: 4 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.2964, allocations: 23.92 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.2967, allocations: 260 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2969, allocations: 62.67 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.2969, allocations: 16.86 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2969, allocations: 3.984 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.2971, allocations: 67.33 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2971, allocations: 0 / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000492/0.2976, allocations: 181.3 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2976, allocations: 59.38 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2978, allocations: 223.5 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2978, allocations: 25.7 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.2979, allocations: 108.1 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2979, allocations: 31.72 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.298, allocations: 25.72 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2981, allocations: 330.8 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.2982, allocations: 23.98 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.2982, allocations: 33.7 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2984, allocations: 61.64 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2984, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.2986, allocations: 97.59 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2986, allocations: 12.03 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2986, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2986, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.2987, allocations: 20.3 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2987, allocations: 4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.2987, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2987, allocations: 15.94 kB / 0.5673 GB, free: 14.19 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.0001082/0.2988, allocations: 131.1 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2989, allocations: 11.91 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.2991, allocations: 127.1 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2991, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2991, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2991, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2996, allocations: 374.4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2996, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.2996, allocations: 8 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2996, allocations: 0 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2996, allocations: 11.97 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2996, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2996, allocations: 4 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.2998, allocations: 200.2 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.2999, allocations: 11.94 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2999, allocations: 7.938 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3, allocations: 8 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3, allocations: 11.92 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3, allocations: 0 / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3002, allocations: 169.1 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3002, allocations: 0 / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3004, allocations: 36.06 kB / 0.5683 GB, free: 13 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 (8): * Single equations (assignments): 6 * 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.002101/0.3025, allocations: 1.075 MB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3027, allocations: 59.95 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3027, allocations: 4 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/0.3028, allocations: 23.92 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3031, allocations: 37.11 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.305, allocations: 1.717 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3053, allocations: 0.7119 MB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.726e-05/0.3053, allocations: 16.98 kB / 0.5719 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.3054, allocations: 39.41 kB / 0.5719 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3054, allocations: 0 / 0.5719 GB, free: 9.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3277, allocations: 3.764 MB / 0.5756 GB, free: 5.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.03, allocations: 4.062 kB / 0.5756 GB, free: 5.633 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.80307465797523] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.234609634964727 11.251278566 10.952753701 Calling exit ...