Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001296/0.001296, allocations: 109 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.00147/0.00147, allocations: 213.6 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.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2482/0.2482, allocations: 46.92 MB / 361.6 MB, free: 4.223 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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",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: 79.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3927, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003605/0.3963, allocations: 1.672 MB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3975, allocations: 0.585 MB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.3976, allocations: 0 / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.3982, allocations: 463.1 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.3987, allocations: 295.3 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.3992, allocations: 179 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.3995, allocations: 171.6 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3996, allocations: 21.95 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3997, allocations: 115.7 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.4, allocations: 243.5 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4, allocations: 4 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4001, allocations: 39.98 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.4002, allocations: 83.67 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4004, allocations: 103 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.4007, allocations: 270.5 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.4007, allocations: 7.984 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4007, allocations: 0 / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4007, allocations: 0 / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008621/0.4016, allocations: 0.5854 MB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4017, allocations: 12.03 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.4017, allocations: 34.73 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.4018, allocations: 44.66 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.4021, allocations: 250.7 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4022, allocations: 4.375 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4022, allocations: 12.31 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.4024, allocations: 54.23 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4024, allocations: 3.938 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4024, allocations: 4 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4024, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4025, allocations: 23.98 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.403, allocations: 375.6 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.4033, allocations: 50.55 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.4033, allocations: 12.86 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.4034, allocations: 8.078 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.4034, allocations: 30.56 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4034, allocations: 0 / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006784/0.4041, allocations: 244.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4041, allocations: 51.41 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/0.4051, allocations: 0.8777 MB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4051, allocations: 25.7 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.4053, allocations: 224.1 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.4053, allocations: 27.86 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.4054, allocations: 21.72 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4056, allocations: 362.7 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.4056, allocations: 19.98 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.4057, allocations: 31.92 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.4059, allocations: 52.77 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4059, allocations: 0 / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002368/0.4061, allocations: 129.6 kB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4061, allocations: 4 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4061, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4061, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.4062, allocations: 19.98 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4062, allocations: 0 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.4063, allocations: 4.281 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.4063, allocations: 0 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002149/0.4065, allocations: 226.5 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.4066, allocations: 51.61 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.4069, allocations: 145.2 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4069, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4069, allocations: 0 / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4069, allocations: 3.984 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.4075, allocations: 449.4 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4075, allocations: 0 / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.4076, allocations: 8 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4076, allocations: 4 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4076, allocations: 3.984 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4076, allocations: 3.938 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4076, allocations: 0 / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.4079, allocations: 227.2 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.4079, allocations: 31.72 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.4079, allocations: 4.25 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.408, allocations: 11.92 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.4081, allocations: 8 kB / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4081, allocations: 0 / 0.5702 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006908/0.4088, allocations: 0.6628 MB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4088, allocations: 0 / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.409, allocations: 27.89 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001985/0.411, allocations: 1.039 MB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4112, allocations: 55.89 kB / 0.572 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4112, allocations: 7.938 kB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.4113, allocations: 24.11 kB / 0.572 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4118, allocations: 41.17 kB / 0.572 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.4163, allocations: 3.283 MB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.417, allocations: 0.8299 MB / 0.5761 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.679e-05/0.4171, allocations: 20.64 kB / 0.5761 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4172, allocations: 115.4 kB / 0.5762 GB, free: 4.969 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4172, allocations: 0 / 0.5762 GB, free: 4.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.4502, allocations: 6.196 MB / 0.5822 GB, free: 14.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/8.997, allocations: 1.547 kB / 0.5822 GB, free: 14.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.053906749002635] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'const.y', 'clock.y'] 9.146729778964072 9.166737886 8.762011437 Calling exit ...