Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0013/0.0013, 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.001479/0.001479, 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.486/1.486, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2331/0.2331, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",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.002445/0.002445, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3951, allocations: 66.08 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003216/0.3983, allocations: 1.667 MB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.4004, allocations: 1.282 MB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.4004, allocations: 4 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.4006, allocations: 15.86 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.4009, allocations: 87.61 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.4013, allocations: 131 kB / 0.5646 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4014, allocations: 75.75 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4015, allocations: 13.97 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.4016, allocations: 39.78 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.4018, allocations: 35.84 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.4018, allocations: 8 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.402, allocations: 99.88 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.4021, allocations: 23.91 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.4021, allocations: 31.8 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.4024, allocations: 143.5 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4024, allocations: 3.938 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4024, allocations: 0 / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.4024, allocations: 0 / 0.5651 GB, free: 0.6758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005912/0.403, allocations: 353.5 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.403, allocations: 12.03 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.4031, allocations: 30.75 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.4031, allocations: 8.891 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4033, allocations: 138.4 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4033, allocations: 384 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.4033, allocations: 16.33 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4036, allocations: 75.94 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4036, allocations: 3.938 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4036, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4036, allocations: 4 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4037, allocations: 35.91 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4041, allocations: 267.8 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4043, allocations: 46.55 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.4043, allocations: 20.94 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4044, allocations: 7.938 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4044, allocations: 30.56 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.4044, allocations: 3.938 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007898/0.4052, allocations: 217.2 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.4052, allocations: 81.09 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4054, allocations: 148.6 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4054, allocations: 29.7 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.4055, allocations: 100.1 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.4055, allocations: 27.83 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.4056, allocations: 25.69 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4058, allocations: 322.8 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4059, allocations: 27.97 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.406, allocations: 49.67 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.4062, allocations: 72.84 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4062, allocations: 0 / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002726/0.4065, allocations: 117.5 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4065, allocations: 4 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4065, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4065, allocations: 4 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4066, allocations: 19.98 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4066, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.4067, allocations: 11.98 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4067, allocations: 0 / 0.5673 GB, free: 14.19 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 (7): * Single equations (assignments): 7 * 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.0001042/0.4068, allocations: 126.6 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.4068, allocations: 11.95 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.4072, allocations: 130.6 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4072, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4072, allocations: 0 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4072, allocations: 288 / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.4077, allocations: 377.5 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4077, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.4078, allocations: 19.98 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4078, allocations: 3.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4078, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.4079, allocations: 7.938 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4079, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.4082, allocations: 215.4 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.4083, allocations: 15.94 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.4083, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.4084, allocations: 19.86 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4084, allocations: 11.98 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4084, allocations: 0 / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.4085, allocations: 123.1 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4085, allocations: 0 / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.4088, allocations: 43.88 kB / 0.5684 GB, free: 13.02 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 (7): * Single equations (assignments): 7 * 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.002429/0.4113, allocations: 1.119 MB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.4116, allocations: 83.88 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4116, allocations: 0 / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4117, allocations: 39.95 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4121, allocations: 19.94 kB / 0.5696 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4143, allocations: 1.601 MB / 0.5712 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4146, allocations: 0.6962 MB / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.4147, allocations: 20.95 kB / 0.5719 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.4148, allocations: 31.42 kB / 0.5719 GB, free: 9.438 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4148, allocations: 0 / 0.5719 GB, free: 9.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.4458, allocations: 3.594 MB / 0.5754 GB, free: 5.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.529, allocations: 7.875 kB / 0.5754 GB, free: 5.816 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.510603113565594] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.674594466108829 8.690079597 8.284542047 Calling exit ...