Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001249/0.001249, 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.001426/0.001426, allocations: 211.9 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 7.969 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.242/0.242, allocations: 46.92 MB / 361.6 MB, free: 4.172 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",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.003829/0.003829, allocations: 75.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3874, allocations: 66.09 MB / 0.5615 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003105/0.3905, allocations: 1.606 MB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3925, allocations: 1.27 MB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.3925, allocations: 4 kB / 0.5643 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3928, allocations: 27.84 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.393, allocations: 87.61 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.3933, allocations: 111.7 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3935, allocations: 63.78 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.3936, allocations: 15.98 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.3936, allocations: 23.92 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3938, allocations: 31.84 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3938, allocations: 8 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.394, allocations: 99.88 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.394, allocations: 19.91 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.394, allocations: 19.88 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3943, allocations: 143.5 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3943, allocations: 0 / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3943, allocations: 0 / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3943, allocations: 0 / 0.565 GB, free: 0.7383 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.0004986/0.3948, allocations: 333.6 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3948, allocations: 8.031 kB / 0.5653 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.3949, allocations: 34.75 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3949, allocations: 12.88 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3951, allocations: 142.4 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3952, allocations: 384 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.3952, allocations: 384 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3953, allocations: 67.95 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3953, allocations: 3.938 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3953, allocations: 3.938 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3954, allocations: 4 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.3954, allocations: 19.98 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3959, allocations: 256 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3961, allocations: 54.53 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.969e-05/0.3961, allocations: 12.8 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3961, allocations: 8 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3962, allocations: 34.56 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3962, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005672/0.3967, allocations: 145.5 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.3968, allocations: 81.09 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.397, allocations: 148.2 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.397, allocations: 33.7 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.3971, allocations: 88.08 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3971, allocations: 27.78 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3971, allocations: 17.72 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3973, allocations: 326.8 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.3973, allocations: 19.98 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.3974, allocations: 33.7 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3976, allocations: 52.83 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3976, allocations: 3.984 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.3978, allocations: 85.56 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3978, allocations: 8 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3978, allocations: 0 / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3978, allocations: 7.969 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.3979, allocations: 11.98 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3979, allocations: 4 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3979, allocations: 3.984 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3979, allocations: 4 kB / 0.567 GB, free: 14.47 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.0001026/0.398, allocations: 118.7 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.3981, allocations: 7.953 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3983, allocations: 102 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3983, allocations: 4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3983, allocations: 320 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3983, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.3988, allocations: 337.5 kB / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3988, allocations: 0 / 0.5675 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.3989, allocations: 15.94 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3989, allocations: 0 / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.3989, allocations: 4 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3989, allocations: 3.984 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3989, allocations: 3.938 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.3991, allocations: 175.5 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.3992, allocations: 15.94 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3992, allocations: 0 / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.3993, allocations: 8 kB / 0.5677 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.3993, allocations: 7.922 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3993, allocations: 4 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3994, allocations: 113.6 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3994, allocations: 0 / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3997, allocations: 35.88 kB / 0.5679 GB, free: 13.44 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.002156/0.4018, allocations: 1.108 MB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.402, allocations: 51.97 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.402, allocations: 4 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.4021, allocations: 31.91 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.4025, allocations: 22.27 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.4044, allocations: 1.452 MB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4048, allocations: 0.6885 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.4048, allocations: 23.98 kB / 0.5712 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.4049, allocations: 27.36 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4049, allocations: 4 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.4351, allocations: 3.314 MB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.37, allocations: 11.86 kB / 0.5745 GB, free: 6.727 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.428884194232523] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.522563556674868 8.546633141 8.147539424 Calling exit ...