Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 215.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.93 MB / 359.6 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 63.89 kB / 0.4938 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 65.47 MB / 0.5578 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003501/0.315, allocations: 1.681 MB / 0.5594 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3167, allocations: 0.9443 MB / 0.5603 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3168, allocations: 7.875 kB / 0.5604 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.317, allocations: 47.81 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.3174, allocations: 107.5 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.3176, allocations: 67.73 kB / 0.5606 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3178, allocations: 103.6 kB / 0.5607 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.3179, allocations: 16.22 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.3179, allocations: 35.86 kB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.318, allocations: 31.78 kB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.318, allocations: 4 kB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3181, allocations: 27.98 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.3182, allocations: 31.86 kB / 0.5608 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.3182, allocations: 35.73 kB / 0.5608 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3185, allocations: 125.3 kB / 0.561 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3185, allocations: 0 / 0.561 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3185, allocations: 0 / 0.561 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3185, allocations: 0 / 0.561 GB, free: 4.238 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005751/0.319, allocations: 369.3 kB / 0.5613 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3191, allocations: 12.03 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.4e-05/0.3191, allocations: 4.125 kB / 0.5613 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.3191, allocations: 34.73 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.3192, allocations: 16.89 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3195, allocations: 163.2 kB / 0.5615 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3195, allocations: 4.125 kB / 0.5615 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3195, allocations: 4 kB / 0.5615 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3196, allocations: 49.67 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3197, allocations: 4 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3197, allocations: 0 / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3197, allocations: 0 / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.3197, allocations: 15.98 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.3199, allocations: 156.8 kB / 0.5618 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3201, allocations: 62.5 kB / 0.5618 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.3202, allocations: 20.84 kB / 0.5618 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3202, allocations: 0 / 0.5618 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3204, allocations: 67.39 kB / 0.5619 GB, free: 3.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3204, allocations: 0 / 0.5619 GB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003056/0.3207, allocations: 113.5 kB / 0.562 GB, free: 3.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3207, allocations: 51.41 kB / 0.5621 GB, free: 2.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.321, allocations: 275.8 kB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.321, allocations: 25.7 kB / 0.5623 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3211, allocations: 120.1 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3211, allocations: 15.83 kB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.3212, allocations: 21.72 kB / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3213, allocations: 330.8 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.3214, allocations: 15.98 kB / 0.5628 GB, free: 2.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.3214, allocations: 33.7 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3215, allocations: 49.58 kB / 0.5629 GB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3215, allocations: 4 kB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001624/0.3217, allocations: 81.59 kB / 0.563 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3217, allocations: 8.031 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3217, allocations: 0 / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3217, allocations: 3.984 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.3218, allocations: 19.92 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3218, allocations: 0 / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3219, allocations: 11.89 kB / 0.563 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.3219, allocations: 0 / 0.563 GB, free: 1.906 MB / 398.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 (7): * Single equations (assignments): 7 * 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.000114/0.322, allocations: 137.8 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.322, allocations: 15.91 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3223, allocations: 102.8 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3223, allocations: 0 / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3223, allocations: 3.938 kB / 0.5633 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3223, allocations: 4 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3225, allocations: 164.7 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3225, allocations: 4.375 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.3225, allocations: 4 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3225, allocations: 4 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3225, allocations: 3.984 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3225, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3225, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.3227, allocations: 129 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.3228, allocations: 11.91 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3228, allocations: 4 kB / 0.5636 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.3228, allocations: 4 kB / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3229, allocations: 7.984 kB / 0.5636 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3229, allocations: 0 / 0.5636 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002711/0.3231, allocations: 208.5 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 0 / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3234, allocations: 23.94 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001969/0.3253, allocations: 0.9961 MB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.3255, allocations: 47.91 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3255, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.3256, allocations: 20 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3258, allocations: 23.97 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.328, allocations: 1.686 MB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3282, allocations: 109.8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.3283, allocations: 16.47 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3283, allocations: 43.42 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3283, allocations: 3.938 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.3522, allocations: 3.848 MB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.88, allocations: 6.938 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.89552481402643] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.102755350992084 12.13405788 11.810174637 Calling exit ...