Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001208/0.001208, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001298/0.001298, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2197/0.2197, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.88 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 66.08 MB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003432/0.3088, allocations: 1.749 MB / 0.5633 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3106, allocations: 1.045 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.3106, allocations: 3.938 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3109, allocations: 63.73 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.3113, allocations: 99.55 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3115, allocations: 79.72 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3116, allocations: 99.7 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.3117, allocations: 13.8 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3118, allocations: 47.73 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.3119, allocations: 31.86 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3119, allocations: 7.938 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.383e-05/0.312, allocations: 43.97 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.3121, allocations: 31.84 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.3121, allocations: 39.69 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3124, allocations: 147.3 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3124, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3124, allocations: 0 / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3124, allocations: 0 / 0.565 GB, free: 0.7539 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.0005693/0.313, allocations: 389.2 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.313, allocations: 12.03 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.183e-05/0.313, allocations: 192 / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.313, allocations: 30.75 kB / 0.5654 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3131, allocations: 16.84 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3134, allocations: 174 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3134, allocations: 384 / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3134, allocations: 4.375 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3136, allocations: 61.61 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3136, allocations: 4 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3136, allocations: 0 / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3136, allocations: 0 / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.3137, allocations: 23.92 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.314, allocations: 268 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3142, allocations: 58.61 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3143, allocations: 24.84 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3143, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.3144, allocations: 71.33 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3144, allocations: 3.938 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005871/0.315, allocations: 189.2 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3151, allocations: 59.41 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.3154, allocations: 284.2 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3154, allocations: 29.7 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.3155, allocations: 116.1 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3155, allocations: 23.78 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.3156, allocations: 25.7 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3157, allocations: 330.8 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.3158, allocations: 23.98 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.3159, allocations: 41.7 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.316, allocations: 53.66 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.316, allocations: 0 / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.3162, allocations: 113.5 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3162, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3162, allocations: 4 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3162, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.3163, allocations: 20.02 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3163, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.3164, allocations: 4 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3164, allocations: 7.938 kB / 0.5673 GB, free: 14.12 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.000133/0.3165, allocations: 141.4 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3165, allocations: 15.91 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3168, allocations: 119.1 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3168, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3168, allocations: 4 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3168, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3173, allocations: 382.7 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3173, allocations: 0 / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3173, allocations: 15.98 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3173, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3173, allocations: 11.88 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3174, allocations: 4 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3174, allocations: 0 / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3176, allocations: 208.2 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.3176, allocations: 23.86 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3177, allocations: 4.125 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.3177, allocations: 7.984 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.3178, allocations: 3.938 kB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3178, allocations: 7.984 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.318, allocations: 211.2 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.318, allocations: 0 / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3182, allocations: 31.92 kB / 0.5685 GB, free: 12.86 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.002164/0.3204, allocations: 1.082 MB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.3206, allocations: 59.84 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3206, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.3207, allocations: 32.03 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.321, allocations: 31.66 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3232, allocations: 1.867 MB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3236, allocations: 0.7275 MB / 0.5722 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.3236, allocations: 12.97 kB / 0.5722 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.3237, allocations: 47.41 kB / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3237, allocations: 0 / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3467, allocations: 4.055 MB / 0.5762 GB, free: 5.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.99, allocations: 4.062 kB / 0.5762 GB, free: 5.023 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.80201159795979] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.202786621986888 11.217167797 10.90181029 Calling exit ...