Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.001327/0.001327, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001562/0.001562, allocations: 219.5 kB / 23 MB, free: 5.582 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.426/1.426, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2361/0.2361, allocations: 46.89 MB / 359.4 MB, free: 4.891 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",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.002384/0.002384, allocations: 83.88 kB / 0.4942 GB, free: 8.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3971, allocations: 65.98 MB / 0.5587 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003988/0.4011, allocations: 1.74 MB / 0.5604 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.403, allocations: 1.041 MB / 0.5614 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.4031, allocations: 0 / 0.5614 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.4034, allocations: 47.77 kB / 0.5614 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.4037, allocations: 95.59 kB / 0.5615 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.4039, allocations: 79.66 kB / 0.5616 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.4041, allocations: 107.6 kB / 0.5617 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.4042, allocations: 5.828 kB / 0.5617 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4043, allocations: 47.77 kB / 0.5617 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.4043, allocations: 35.8 kB / 0.5618 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.4044, allocations: 4 kB / 0.5618 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.4045, allocations: 39.98 kB / 0.5618 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.4045, allocations: 27.91 kB / 0.5618 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.4046, allocations: 31.75 kB / 0.5619 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.4048, allocations: 119.4 kB / 0.562 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.4048, allocations: 7.984 kB / 0.562 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4048, allocations: 4 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.4048, allocations: 0 / 0.562 GB, free: 1.68 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.0006827/0.4055, allocations: 417 kB / 0.5624 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4056, allocations: 12.02 kB / 0.5624 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.4056, allocations: 38.75 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.4057, allocations: 12.89 kB / 0.5625 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.406, allocations: 212.8 kB / 0.5627 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.406, allocations: 4.375 kB / 0.5627 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.406, allocations: 4.375 kB / 0.5627 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.4062, allocations: 61.8 kB / 0.5627 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4062, allocations: 3.938 kB / 0.5627 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4062, allocations: 0 / 0.5627 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4062, allocations: 4 kB / 0.5627 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.4063, allocations: 15.98 kB / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.4067, allocations: 292.8 kB / 0.563 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4069, allocations: 54.67 kB / 0.5631 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.4069, allocations: 24.78 kB / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.407, allocations: 0 / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.4071, allocations: 71.39 kB / 0.5632 GB, free: 312 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4071, allocations: 3.938 kB / 0.5632 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005495/0.4077, allocations: 173.3 kB / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4077, allocations: 55.39 kB / 0.5634 GB, free: 60 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.4079, allocations: 198.4 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.408, allocations: 25.7 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.408, allocations: 96.14 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.4081, allocations: 35.77 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.4081, allocations: 21.72 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4083, allocations: 330.8 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.4083, allocations: 19.98 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.4084, allocations: 37.64 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4085, allocations: 69.64 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4085, allocations: 4 kB / 0.5642 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.4087, allocations: 101.5 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4087, allocations: 4 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4087, allocations: 4 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4087, allocations: 0 / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.4088, allocations: 15.98 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4088, allocations: 0 / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.4089, allocations: 4 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4089, allocations: 4 kB / 0.5643 GB, free: 15.05 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.0001218/0.409, allocations: 137.8 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.409, allocations: 11.91 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.4093, allocations: 119 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4093, allocations: 0 / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4093, allocations: 0 / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4093, allocations: 0 / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.4098, allocations: 395.6 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4098, allocations: 4.031 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.4098, allocations: 16 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4098, allocations: 0 / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.4098, allocations: 4 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4098, allocations: 3.938 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4098, allocations: 0 / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.4101, allocations: 216.5 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.4101, allocations: 89.05 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.4102, allocations: 0 / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.4102, allocations: 7.938 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.4103, allocations: 7.984 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4103, allocations: 8 kB / 0.5653 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.4104, allocations: 144.2 kB / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4104, allocations: 0 / 0.5654 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.4107, allocations: 23.94 kB / 0.5655 GB, free: 13.77 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.002167/0.4129, allocations: 1.094 MB / 0.5665 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4131, allocations: 63.83 kB / 0.5666 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4131, allocations: 0 / 0.5666 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.4131, allocations: 23.98 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4135, allocations: 31.36 kB / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.4154, allocations: 1.673 MB / 0.5683 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4158, allocations: 0.7041 MB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.185e-05/0.4158, allocations: 17.17 kB / 0.569 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.4159, allocations: 35.42 kB / 0.569 GB, free: 10.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4159, allocations: 7.938 kB / 0.569 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.4417, allocations: 3.47 MB / 0.5724 GB, free: 6.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.553, allocations: 8.219 kB / 0.5724 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318731739011128] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.67923034299747 8.704853233 8.294039653 Calling exit ...