Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001752/0.001752, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002293/0.002293, allocations: 212 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2315/0.2315, allocations: 46.93 MB / 361.6 MB, free: 4.301 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-beta.om/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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 80.16 kB / 0.497 GB, free: 8.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 66.07 MB / 0.5616 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002763/0.3469, allocations: 1.839 MB / 0.5633 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3484, allocations: 1.119 MB / 0.5644 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.3485, allocations: 4.875 kB / 0.5644 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.349, allocations: 308.4 kB / 0.5647 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.3494, allocations: 263 kB / 0.565 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.3496, allocations: 110.8 kB / 0.5651 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3498, allocations: 265.3 kB / 0.5653 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.3499, allocations: 11.33 kB / 0.5654 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.35, allocations: 135 kB / 0.5655 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3503, allocations: 215 kB / 0.5657 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3503, allocations: 7.062 kB / 0.5657 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.3504, allocations: 47.27 kB / 0.5657 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3505, allocations: 148.6 kB / 0.5659 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3506, allocations: 148.1 kB / 0.566 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.351, allocations: 380.9 kB / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.351, allocations: 0 / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.351, allocations: 0.5625 kB / 0.5664 GB, free: 30.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.351, allocations: 0 / 0.5664 GB, free: 30.78 MB / 446.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.0007799/0.3518, allocations: 0.6912 MB / 0.5671 GB, free: 30.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3518, allocations: 9.531 kB / 0.5671 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.3519, allocations: 36.91 kB / 0.5671 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.3519, allocations: 51.02 kB / 0.5672 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3524, allocations: 400 kB / 0.5675 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.3524, allocations: 10.34 kB / 0.5676 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3524, allocations: 3.562 kB / 0.5676 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3526, allocations: 94.81 kB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3526, allocations: 0 / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3526, allocations: 0 / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3526, allocations: 4.156 kB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3528, allocations: 33.8 kB / 0.5677 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3531, allocations: 356.5 kB / 0.568 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3533, allocations: 101 kB / 0.5681 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.3534, allocations: 36.75 kB / 0.5682 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3534, allocations: 3.625 kB / 0.5682 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.3537, allocations: 117.4 kB / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3537, allocations: 0 / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004563/0.3541, allocations: 200 kB / 0.5685 GB, free: 29.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3542, allocations: 81.58 kB / 0.5685 GB, free: 29.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.3551, allocations: 1.053 MB / 0.5696 GB, free: 28.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3551, allocations: 29.17 kB / 0.5696 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3553, allocations: 241.2 kB / 0.5698 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.3553, allocations: 28.39 kB / 0.5699 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.3554, allocations: 30.48 kB / 0.5699 GB, free: 28.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.3555, allocations: 374.9 kB / 0.5702 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.3556, allocations: 29.97 kB / 0.5703 GB, free: 28.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.3557, allocations: 53.03 kB / 0.5703 GB, free: 28.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.3558, allocations: 88.94 kB / 0.5704 GB, free: 28.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3558, allocations: 4 kB / 0.5704 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002847/0.3561, allocations: 178.2 kB / 0.5706 GB, free: 28.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3561, allocations: 7.594 kB / 0.5706 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3561, allocations: 5.344 kB / 0.5706 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3562, allocations: 1.438 kB / 0.5706 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3563, allocations: 25.36 kB / 0.5706 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3563, allocations: 5.125 kB / 0.5706 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3564, allocations: 12.09 kB / 0.5706 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3564, allocations: 8.375 kB / 0.5706 GB, free: 28.03 MB / 446.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0001858/0.3566, allocations: 223.2 kB / 0.5708 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.3566, allocations: 61.73 kB / 0.5709 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.3571, allocations: 195.6 kB / 0.5711 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3571, allocations: 1.75 kB / 0.5711 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3571, allocations: 0.7812 kB / 0.5711 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3571, allocations: 1 kB / 0.5711 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3575, allocations: 317 kB / 0.5714 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3575, allocations: 9.562 kB / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.3575, allocations: 8.875 kB / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3575, allocations: 0 / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3575, allocations: 10.62 kB / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3575, allocations: 0 / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3575, allocations: 1.125 kB / 0.5714 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3578, allocations: 223.4 kB / 0.5716 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3579, allocations: 70.42 kB / 0.5717 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.358, allocations: 1.375 kB / 0.5717 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.3581, allocations: 11.55 kB / 0.5717 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3581, allocations: 7.406 kB / 0.5717 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3581, allocations: 4.125 kB / 0.5717 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006929/0.3588, allocations: 0.7847 MB / 0.5725 GB, free: 27.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3588, allocations: 0 / 0.5725 GB, free: 27.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3591, allocations: 45.14 kB / 0.5725 GB, free: 27.09 MB / 446.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001832/0.3609, allocations: 1.07 MB / 0.5736 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3612, allocations: 76.7 kB / 0.5737 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3612, allocations: 4.125 kB / 0.5737 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3613, allocations: 44.34 kB / 0.5737 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3617, allocations: 63.91 kB / 0.5738 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.3674, allocations: 4.577 MB / 0.5782 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3677, allocations: 0.8468 MB / 0.5791 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.3679, allocations: 57.89 kB / 0.5791 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.3681, allocations: 154.2 kB / 0.5793 GB, free: 23.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3681, allocations: 0 / 0.5793 GB, free: 23.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.4073, allocations: 9.288 MB / 0.5883 GB, free: 21.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.036, allocations: 9.312 kB / 0.5883 GB, free: 21.9 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.017502195667475] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.17883929098025 9.190050212 8.836913045 Calling exit ...