Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.001635/0.001635, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001907/0.001907, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2427/0.2427, allocations: 46.92 MB / 361.6 MB, free: 4.188 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-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.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47",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.002368/0.002368, allocations: 79.86 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3978, allocations: 66.09 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003412/0.4012, allocations: 1.745 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.403, allocations: 1.049 MB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.4031, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.4034, allocations: 55.7 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.4037, allocations: 111.5 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.4039, allocations: 79.67 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.4042, allocations: 95.75 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4043, allocations: 9.969 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4044, allocations: 51.7 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.4045, allocations: 35.8 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4045, allocations: 4 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.4046, allocations: 43.97 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.4047, allocations: 31.84 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.4047, allocations: 43.69 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.405, allocations: 135.4 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.405, allocations: 4 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.405, allocations: 0 / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.405, allocations: 0 / 0.565 GB, free: 0.7812 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.0006234/0.4056, allocations: 381.2 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4056, allocations: 12.03 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.4057, allocations: 34.73 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.4057, allocations: 16.84 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.4061, allocations: 159.2 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4061, allocations: 8.359 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.4061, allocations: 384 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4063, allocations: 57.8 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4063, allocations: 0 / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4063, allocations: 4 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4063, allocations: 3.984 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.4064, allocations: 19.94 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.4068, allocations: 279.9 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.407, allocations: 54.67 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.4071, allocations: 16.86 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4071, allocations: 0 / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.4073, allocations: 75.31 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.4073, allocations: 0 / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.4079, allocations: 181.3 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.408, allocations: 55.41 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.4083, allocations: 278.8 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4083, allocations: 29.64 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.4084, allocations: 116.1 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.4084, allocations: 23.8 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.4084, allocations: 25.7 kB / 0.5667 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4086, allocations: 334.8 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.4086, allocations: 19.98 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.4087, allocations: 37.7 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4089, allocations: 61.7 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4089, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.4091, allocations: 117.5 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4091, allocations: 14.12 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4091, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4091, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.4092, allocations: 15.98 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4092, allocations: 4 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.4093, allocations: 0 / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4093, allocations: 4 kB / 0.5673 GB, free: 14.18 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.0001398/0.4094, allocations: 142.7 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.4094, allocations: 11.91 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.4097, allocations: 119 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.4097, allocations: 4 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4097, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4097, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4102, allocations: 378.3 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4102, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.4102, allocations: 12.03 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.4102, allocations: 7.984 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4102, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.4102, allocations: 3.938 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4102, allocations: 0 / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.4105, allocations: 212.2 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.4105, allocations: 15.91 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4105, allocations: 4 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.4106, allocations: 11.92 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.4107, allocations: 4 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.4107, allocations: 8.359 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4109, allocations: 200.8 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4109, allocations: 0 / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.4111, allocations: 31.88 kB / 0.5684 GB, free: 12.94 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 (8): * Single equations (assignments): 6 * 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.002164/0.4133, allocations: 1.096 MB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4135, allocations: 55.86 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4135, allocations: 3.938 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.4135, allocations: 23.98 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4139, allocations: 33.72 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.416, allocations: 1.832 MB / 0.5714 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4163, allocations: 0.7158 MB / 0.5721 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.4164, allocations: 17.27 kB / 0.5721 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.4165, allocations: 43.42 kB / 0.5722 GB, free: 9.148 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4165, allocations: 4 kB / 0.5722 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4452, allocations: 3.874 MB / 0.5759 GB, free: 5.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.23, allocations: 7.094 kB / 0.5759 GB, free: 5.281 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.265619731042534] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.371322747785598 8.393611168 7.984223238 Calling exit ...