Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001259/0.001259, 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.001572/0.001572, 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.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2352/0.2352, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002366/0.002366, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3939, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003859/0.3978, allocations: 1.617 MB / 0.5631 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.399, allocations: 0.5762 MB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3991, allocations: 0 / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.3997, allocations: 455.1 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.4002, allocations: 299.3 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.4007, allocations: 167.1 kB / 0.5645 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.401, allocations: 171.6 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4012, allocations: 15.98 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4013, allocations: 107.8 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.4016, allocations: 243.5 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.4016, allocations: 0 / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.4017, allocations: 31.92 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4018, allocations: 88.61 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.402, allocations: 107 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.4023, allocations: 248.6 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4023, allocations: 4 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4023, allocations: 0 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4023, allocations: 0 / 0.5655 GB, free: 184 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007981/0.4031, allocations: 0.5854 MB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4032, allocations: 8.031 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.4032, allocations: 42.69 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.4033, allocations: 40.66 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.4036, allocations: 246.8 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.4036, allocations: 4.375 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.4036, allocations: 8.312 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4038, allocations: 58.23 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4038, allocations: 3.938 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4038, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.4038, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.4039, allocations: 23.98 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.4046, allocations: 359.8 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4047, allocations: 34.62 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.4047, allocations: 16.86 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.4047, allocations: 3.984 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.4048, allocations: 34.56 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4048, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003183/0.4051, allocations: 113.3 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.4051, allocations: 59.41 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.4061, allocations: 0.8699 MB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.4061, allocations: 25.7 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.4063, allocations: 220.1 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.4064, allocations: 19.88 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.4064, allocations: 9.719 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4066, allocations: 366.7 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.4066, allocations: 12.11 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.4067, allocations: 15.94 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.4067, allocations: 32.77 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4067, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001585/0.4069, allocations: 93.41 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4069, allocations: 6.5 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4069, allocations: 4.094 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4069, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.407, allocations: 7.984 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.407, allocations: 3.984 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.4071, allocations: 4 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.4071, allocations: 0 / 0.5687 GB, free: 12.68 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 (2): * Single equations (assignments): 2 * 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.0002239/0.4073, allocations: 214.6 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.4074, allocations: 51.67 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.4076, allocations: 108.8 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4076, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4076, allocations: 3.938 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4076, allocations: 3.984 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4079, allocations: 260.6 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4079, allocations: 4 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.4079, allocations: 4 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4079, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.4079, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4079, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4079, allocations: 4.031 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.4081, allocations: 199.1 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.4082, allocations: 43.7 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.4082, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.4083, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.4083, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4083, allocations: 4 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006627/0.409, allocations: 0.6668 MB / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.409, allocations: 0 / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.4092, allocations: 16 kB / 0.5703 GB, free: 11.04 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 (2): * Single equations (assignments): 2 * 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.001643/0.4109, allocations: 0.9692 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.411, allocations: 27.92 kB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.411, allocations: 0 / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.4111, allocations: 19.98 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.4115, allocations: 26.3 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.4152, allocations: 3.183 MB / 0.5744 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.4157, allocations: 0.8221 MB / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.4158, allocations: 19.67 kB / 0.5752 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4159, allocations: 111.4 kB / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4159, allocations: 0 / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.4454, allocations: 5.861 MB / 0.581 GB, free: 15.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.022, allocations: 8 kB / 0.581 GB, free: 15.96 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.00489858072251] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock.y', 'const.y'] 9.162680916953832 9.177155691 8.771740871 Calling exit ...