Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.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.001829/0.001829, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.002027/0.002027, allocations: 214.6 kB / 23.48 MB, free: 5.258 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.431/1.431, allocations: 230.2 MB / 256.8 MB, free: 8.57 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.2298/0.2298, allocations: 46.88 MB / 360 MB, free: 4.711 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test29",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.002394/0.002394, allocations: 75.88 kB / 0.4952 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4003, allocations: 65.99 MB / 0.5596 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003883/0.4041, allocations: 1.74 MB / 0.5613 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.4062, allocations: 1.053 MB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.4063, allocations: 0 / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.4066, allocations: 47.75 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.407, allocations: 91.59 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.4072, allocations: 75.69 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.4074, allocations: 107.7 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.4075, allocations: 13.77 kB / 0.5627 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.4076, allocations: 39.84 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.874e-05/0.4077, allocations: 39.77 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.4077, allocations: 7.938 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4078, allocations: 36 kB / 0.5628 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.4079, allocations: 23.92 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.4079, allocations: 35.73 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.4082, allocations: 119.4 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4082, allocations: 0 / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4082, allocations: 0 / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4082, allocations: 8 kB / 0.563 GB, free: 1.527 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.0006639/0.4088, allocations: 426.6 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4089, allocations: 8.031 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.4089, allocations: 38.75 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.409, allocations: 8.891 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.4093, allocations: 208.8 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4094, allocations: 384 / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.4094, allocations: 12.36 kB / 0.5636 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.4096, allocations: 61.73 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4096, allocations: 0 / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4096, allocations: 4 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.4096, allocations: 4 kB / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.4097, allocations: 15.98 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.4101, allocations: 288.8 kB / 0.564 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4102, allocations: 54.62 kB / 0.564 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.4103, allocations: 20.84 kB / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4103, allocations: 0 / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.4105, allocations: 67.39 kB / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4105, allocations: 0 / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005837/0.4111, allocations: 181.6 kB / 0.5643 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4111, allocations: 55.41 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4114, allocations: 194.4 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4114, allocations: 33.64 kB / 0.5646 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.4115, allocations: 100.1 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.4115, allocations: 27.78 kB / 0.5647 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.4116, allocations: 21.72 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4117, allocations: 330.8 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4119, allocations: 24.17 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.4119, allocations: 41.64 kB / 0.5651 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4121, allocations: 61.97 kB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4121, allocations: 4 kB / 0.5651 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.4123, allocations: 113.3 kB / 0.5653 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4123, allocations: 4 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4123, allocations: 4 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4123, allocations: 4.031 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.4124, allocations: 19.98 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4124, allocations: 0 / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.4125, allocations: 4 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4125, allocations: 4 kB / 0.5653 GB, free: 14.89 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.0001167/0.4126, allocations: 129.7 kB / 0.5654 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.4126, allocations: 15.89 kB / 0.5654 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.4129, allocations: 107.1 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4129, allocations: 7.984 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4129, allocations: 0 / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4129, allocations: 0 / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.4134, allocations: 395.3 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4134, allocations: 0 / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.4134, allocations: 8 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4134, allocations: 0 / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4134, allocations: 11.98 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4135, allocations: 11.91 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4135, allocations: 0 / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.4137, allocations: 196.3 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.4138, allocations: 85.06 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.4138, allocations: 4 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.4139, allocations: 15.86 kB / 0.5662 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4139, allocations: 8 kB / 0.5662 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4139, allocations: 4 kB / 0.5662 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.4141, allocations: 148.2 kB / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4141, allocations: 0 / 0.5664 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4143, allocations: 27.92 kB / 0.5664 GB, free: 13.62 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.002307/0.4167, allocations: 1.098 MB / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4168, allocations: 59.84 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4168, allocations: 4.062 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.417, allocations: 23.94 kB / 0.5676 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.4174, allocations: 34.78 kB / 0.5676 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.4195, allocations: 1.662 MB / 0.5692 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4198, allocations: 0.7041 MB / 0.5699 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.4199, allocations: 17.17 kB / 0.5699 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.4199, allocations: 39.42 kB / 0.57 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4199, allocations: 3.938 kB / 0.57 GB, free: 10 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.4477, allocations: 3.484 MB / 0.5734 GB, free: 6.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.591, allocations: 0.75 kB / 0.5734 GB, free: 6.539 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29_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_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.589766829041764] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.715658121043816 8.731010209 8.319735063 Calling exit ...