Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001189/0.001189, 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.001616/0.001616, allocations: 207.4 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.371/1.371, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2258/0.2258, allocations: 46.93 MB / 361.6 MB, free: 4.273 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 83.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3219, allocations: 66.09 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003412/0.3253, allocations: 1.831 MB / 0.5634 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3282, allocations: 1.801 MB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.3283, allocations: 3.938 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.3287, allocations: 55.69 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.3291, allocations: 143.4 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.3293, allocations: 107.6 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.3297, allocations: 211.3 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.3297, allocations: 5.812 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3299, allocations: 91.56 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3302, allocations: 83.66 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3302, allocations: 11.94 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.3304, allocations: 119.9 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3305, allocations: 27.92 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.3306, allocations: 71.53 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.3309, allocations: 229 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3309, allocations: 3.938 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3309, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3309, allocations: 0 / 0.5662 GB, free: 15.49 MB / 414.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.0006961/0.3316, allocations: 428.9 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3317, allocations: 12.03 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.092e-05/0.3317, allocations: 4.125 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.3317, allocations: 42.67 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.3318, allocations: 20.84 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3321, allocations: 194.2 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3322, allocations: 4.375 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3322, allocations: 8.359 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3324, allocations: 96.97 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3324, allocations: 0 / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3324, allocations: 8 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3324, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3325, allocations: 31.97 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.3328, allocations: 189.6 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3331, allocations: 105.2 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3332, allocations: 37.7 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3332, allocations: 3.938 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.3334, allocations: 113 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3334, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000472/0.3339, allocations: 169.4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.334, allocations: 132.5 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3343, allocations: 234.3 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3343, allocations: 29.7 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.3344, allocations: 116.1 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3344, allocations: 35.72 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/0.3345, allocations: 33.72 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3347, allocations: 330.8 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.3347, allocations: 27.98 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3349, allocations: 72.39 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.335, allocations: 99.88 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3351, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002795/0.3353, allocations: 137.4 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3353, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3353, allocations: 3.938 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3354, allocations: 7.938 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3355, allocations: 24.05 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3355, allocations: 4 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.3356, allocations: 15.94 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3356, allocations: 4 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001268/0.3357, allocations: 135.1 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.3358, allocations: 23.83 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.3361, allocations: 146.7 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3361, allocations: 4 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3361, allocations: 0 / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3361, allocations: 4 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3363, allocations: 200.5 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3363, allocations: 256 / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3364, allocations: 15.98 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3364, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3364, allocations: 7.984 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3364, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3364, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3367, allocations: 181.7 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.3367, allocations: 11.91 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.3368, allocations: 0 / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3369, allocations: 11.98 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.3369, allocations: 7.984 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.3369, allocations: 4 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.3371, allocations: 184.5 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3371, allocations: 0 / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3374, allocations: 55.86 kB / 0.5698 GB, free: 11.44 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002314/0.3397, allocations: 1.102 MB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.34, allocations: 83.89 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.34, allocations: 0 / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3401, allocations: 35.92 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3405, allocations: 49.12 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3428, allocations: 1.895 MB / 0.5729 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3432, allocations: 0.7203 MB / 0.5736 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.3433, allocations: 37.55 kB / 0.5737 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3434, allocations: 63.34 kB / 0.5737 GB, free: 7.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3434, allocations: 0 / 0.5737 GB, free: 7.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.3693, allocations: 5.529 MB / 0.5791 GB, free: 1.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.13, allocations: 18.02 kB / 0.5791 GB, free: 1.945 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.951094683026895] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.338634444051422 11.353610853 11.019466229 Calling exit ...