Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001793/0.001793, allocations: 107.5 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.002548/0.002548, allocations: 212.3 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2572/0.2572, allocations: 46.96 MB / 361.7 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.89 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3943, allocations: 66.03 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003533/0.3978, allocations: 1.748 MB / 0.5631 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3998, allocations: 0.9754 MB / 0.5641 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.3999, allocations: 3.938 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.4003, allocations: 107.7 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.4007, allocations: 135.5 kB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.401, allocations: 83.66 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.4012, allocations: 135.6 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.4014, allocations: 23.39 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.4015, allocations: 51.78 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.4016, allocations: 87.72 kB / 0.5647 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.4016, allocations: 4 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.4018, allocations: 59.97 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.4018, allocations: 35.91 kB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.4019, allocations: 47.61 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.4022, allocations: 163.3 kB / 0.565 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4022, allocations: 7.938 kB / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4022, allocations: 0 / 0.565 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4022, allocations: 0 / 0.565 GB, free: 0.5391 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006299/0.4028, allocations: 385.2 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4029, allocations: 12.03 kB / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.975e-05/0.4029, allocations: 192 / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.4029, allocations: 42.73 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.403, allocations: 16.84 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.4033, allocations: 167.2 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4034, allocations: 4.125 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.4034, allocations: 12 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.4036, allocations: 81.58 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4036, allocations: 3.953 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4036, allocations: 3.938 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4036, allocations: 0 / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4037, allocations: 39.97 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.4042, allocations: 295.8 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4045, allocations: 78.53 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.4046, allocations: 24.84 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4046, allocations: 8 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.4048, allocations: 83.31 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.907e-06/0.4048, allocations: 3.984 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001015/0.4058, allocations: 317 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.4059, allocations: 51.41 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4063, allocations: 267.7 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4063, allocations: 37.69 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.4064, allocations: 116.1 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.4064, allocations: 55.58 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.4065, allocations: 25.72 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4067, allocations: 334.8 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.4068, allocations: 35.98 kB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.4069, allocations: 57.69 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4071, allocations: 109.5 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4071, allocations: 0 / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002921/0.4074, allocations: 165.6 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4074, allocations: 8.031 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4074, allocations: 7.938 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4074, allocations: 0 / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4075, allocations: 32.03 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4075, allocations: 7.938 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.4076, allocations: 4 kB / 0.5678 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4076, allocations: 4 kB / 0.5678 GB, free: 13.49 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 (16): * Single equations (assignments): 16 * 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.0001373/0.4077, allocations: 137.8 kB / 0.5679 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.4078, allocations: 19.86 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.4082, allocations: 209.4 kB / 0.5681 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4082, allocations: 8 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4082, allocations: 3.984 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.4082, allocations: 0 / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.409, allocations: 483.3 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.409, allocations: 0.8438 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.4091, allocations: 27.92 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4091, allocations: 4 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4091, allocations: 4 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4091, allocations: 4 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4091, allocations: 4.062 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4095, allocations: 280.9 kB / 0.5689 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.4096, allocations: 19.86 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.4096, allocations: 4 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.4097, allocations: 11.94 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.4097, allocations: 19.91 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.4098, allocations: 4 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.41, allocations: 197.5 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.41, allocations: 0 / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.4104, allocations: 39.92 kB / 0.5692 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0029/0.4133, allocations: 1.258 MB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4136, allocations: 107.8 kB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4136, allocations: 0 / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4137, allocations: 51.92 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.4142, allocations: 38.69 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.4167, allocations: 2.046 MB / 0.5726 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4169, allocations: 115.4 kB / 0.5727 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.016e-05/0.4169, allocations: 29.41 kB / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.417, allocations: 51.42 kB / 0.5728 GB, free: 8.371 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.417, allocations: 0 / 0.5728 GB, free: 8.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4426, allocations: 4.785 MB / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 0 / 0.5774 GB, free: 3.66 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.084848825004883] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 12.089636065997183 12.117821597 11.710577699 Calling exit ...