Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001329/0.001329, 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.001464/0.001464, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 46.96 MB / 361.7 MB, free: 4.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 66.03 MB / 0.5614 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003546/0.3324, allocations: 1.702 MB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3342, allocations: 0.9676 MB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.3343, allocations: 0 / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.3347, allocations: 43.77 kB / 0.5641 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.3351, allocations: 95.55 kB / 0.5642 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3353, allocations: 79.72 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.3355, allocations: 107.6 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3357, allocations: 13.8 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.3358, allocations: 43.8 kB / 0.5644 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.958e-05/0.3358, allocations: 35.78 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3359, allocations: 4 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.336, allocations: 43.97 kB / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.3361, allocations: 19.92 kB / 0.5645 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3362, allocations: 27.75 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3365, allocations: 123.5 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3365, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3365, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3365, allocations: 4 kB / 0.5646 GB, free: 0.9531 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.0006452/0.3371, allocations: 353.5 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3372, allocations: 12.03 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.394e-05/0.3372, allocations: 192 / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.3372, allocations: 34.73 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3373, allocations: 12.83 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3376, allocations: 155 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3376, allocations: 12.12 kB / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.3376, allocations: 0 / 0.5652 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3378, allocations: 53.67 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3378, allocations: 8 kB / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3378, allocations: 0 / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3378, allocations: 0 / 0.5653 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3379, allocations: 23.98 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.3383, allocations: 255.9 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3385, allocations: 58.61 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.3386, allocations: 24.83 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3386, allocations: 0 / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3388, allocations: 71.39 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3388, allocations: 0 / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.3394, allocations: 185.3 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3394, allocations: 55.41 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3397, allocations: 206.2 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3397, allocations: 29.7 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.3398, allocations: 100.1 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.3398, allocations: 31.72 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.3398, allocations: 21.72 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.34, allocations: 326.8 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.388e-05/0.3401, allocations: 23.98 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.3401, allocations: 37.64 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3403, allocations: 61.78 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3403, allocations: 0 / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002217/0.3405, allocations: 117.5 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3405, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3405, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3405, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.3406, allocations: 20.02 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3406, allocations: 7.875 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.3407, allocations: 4 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3407, allocations: 4.375 kB / 0.5669 GB, free: 14.48 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.0001181/0.3408, allocations: 121.8 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3409, allocations: 16.08 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.3412, allocations: 126.9 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3412, allocations: 0 / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3412, allocations: 7.938 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3412, allocations: 0 / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.3417, allocations: 374.4 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3417, allocations: 0 / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.3417, allocations: 8 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.3417, allocations: 7.938 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3417, allocations: 3.984 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3417, allocations: 0 / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3417, allocations: 0 / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.342, allocations: 216.2 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.3421, allocations: 11.89 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3421, allocations: 8.031 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.3422, allocations: 3.984 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3422, allocations: 11.98 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3422, allocations: 4 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3424, allocations: 156.2 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3424, allocations: 0 / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3427, allocations: 23.94 kB / 0.5679 GB, free: 13.3 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 (9): * Single equations (assignments): 7 * 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.002413/0.3451, allocations: 1.144 MB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3453, allocations: 63.91 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3453, allocations: 0 / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.3454, allocations: 20.16 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3457, allocations: 37.11 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.3478, allocations: 1.674 MB / 0.5708 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3479, allocations: 92.17 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.348, allocations: 16.91 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.3481, allocations: 39.42 kB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3481, allocations: 4 kB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3716, allocations: 3.814 MB / 0.5746 GB, free: 6.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.78, allocations: 6.875 kB / 0.5746 GB, free: 6.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.764862254960462] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.992118449998088 12.011911692 11.67126145 Calling exit ...