Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 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.001542/0.001542, allocations: 213.2 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.236/0.236, allocations: 46.93 MB / 361.6 MB, free: 4.297 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",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.002389/0.002389, allocations: 75.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3977, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003171/0.4008, allocations: 1.619 MB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4019, allocations: 0.5577 MB / 0.5636 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.402, allocations: 0 / 0.5636 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.4022, allocations: 19.84 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.4024, allocations: 79.62 kB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.4027, allocations: 119 kB / 0.5639 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4029, allocations: 67.83 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.403, allocations: 7.984 kB / 0.5639 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.4031, allocations: 31.81 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.4032, allocations: 23.86 kB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.4032, allocations: 3.938 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.4033, allocations: 39.97 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.4033, allocations: 15.92 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.4034, allocations: 19.81 kB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.4035, allocations: 83.66 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4036, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4036, allocations: 0 / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4036, allocations: 3.938 kB / 0.5641 GB, free: 1.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005113/0.4041, allocations: 309.9 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4041, allocations: 12.03 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.4041, allocations: 30.75 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.4042, allocations: 8.891 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.4044, allocations: 136.9 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.4044, allocations: 4.375 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4044, allocations: 4.375 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4045, allocations: 46.25 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4046, allocations: 3.938 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4046, allocations: 11.88 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4046, allocations: 0 / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4047, allocations: 27.97 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.4051, allocations: 247.9 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.4053, allocations: 46.56 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.4054, allocations: 24.88 kB / 0.565 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4054, allocations: 3.984 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4054, allocations: 34.56 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4054, allocations: 0 / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000581/0.406, allocations: 145.4 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.406, allocations: 59.41 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.4062, allocations: 150.1 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4062, allocations: 25.7 kB / 0.5654 GB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.4063, allocations: 96.08 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4063, allocations: 23.84 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.4063, allocations: 17.72 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4065, allocations: 318.8 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.4066, allocations: 24.05 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.4066, allocations: 23.98 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4068, allocations: 52.83 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4068, allocations: 0 / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.407, allocations: 89.55 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.407, allocations: 8 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.407, allocations: 0 / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.407, allocations: 4 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.4071, allocations: 15.92 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4071, allocations: 4 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.4071, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4071, allocations: 7.984 kB / 0.5661 GB, free: 15.48 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 9.976e-05/0.4072, allocations: 122.7 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.4073, allocations: 7.953 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.4075, allocations: 106 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4075, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4075, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4075, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.408, allocations: 329.5 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.408, allocations: 320 / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.4081, allocations: 15.94 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4081, allocations: 7.984 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4081, allocations: 4 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4081, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4081, allocations: 3.938 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.4083, allocations: 179.5 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.4084, allocations: 12.23 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4084, allocations: 0 / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.4084, allocations: 8 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.4085, allocations: 7.922 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4085, allocations: 7.984 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.4086, allocations: 116.8 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4086, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.4088, allocations: 15.94 kB / 0.567 GB, free: 14.46 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.001923/0.4107, allocations: 1.013 MB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.411, allocations: 51.97 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.411, allocations: 3.938 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.411, allocations: 31.91 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.4114, allocations: 23.84 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4133, allocations: 1.461 MB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4136, allocations: 0.6963 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.4137, allocations: 15.77 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.4137, allocations: 23.44 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4137, allocations: 0 / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4414, allocations: 2.633 MB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.318, allocations: 3.938 kB / 0.5728 GB, free: 8.516 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.334199854638427] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.457840176764876 8.474271105 8.067410744 Calling exit ...