Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001647/0.001647, 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.002397/0.002397, 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.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2516/0.2516, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002361/0.002361, allocations: 83.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4036, allocations: 66.07 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003588/0.4072, allocations: 1.684 MB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.4085, allocations: 0.6005 MB / 0.5637 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.4086, allocations: 3.938 kB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.4093, allocations: 459.1 kB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.4098, allocations: 291.3 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.4103, allocations: 182.1 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.4106, allocations: 179.6 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4107, allocations: 17.95 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.4109, allocations: 111.7 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.4112, allocations: 259.5 kB / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4112, allocations: 0 / 0.5652 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4113, allocations: 36 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4114, allocations: 87.67 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4115, allocations: 110.9 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.4119, allocations: 270.6 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4119, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4119, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4119, allocations: 4 kB / 0.5657 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.000873/0.4128, allocations: 0.6049 MB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4128, allocations: 8.031 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.4129, allocations: 30.75 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.4129, allocations: 44.66 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.4132, allocations: 246.8 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4132, allocations: 8.375 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4133, allocations: 384 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4135, allocations: 74.16 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4135, allocations: 3.938 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4135, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4135, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4136, allocations: 39.97 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.4142, allocations: 379.7 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4144, allocations: 54.58 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.4145, allocations: 28.83 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4145, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4145, allocations: 30.56 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4145, allocations: 0 / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009094/0.4154, allocations: 320.5 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.4155, allocations: 55.39 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.4164, allocations: 0.8738 MB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.4164, allocations: 25.7 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.4166, allocations: 220 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.4166, allocations: 27.78 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.4167, allocations: 17.72 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4168, allocations: 370.7 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4169, allocations: 35.91 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4171, allocations: 39.91 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.4173, allocations: 100.8 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4173, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003282/0.4176, allocations: 157.3 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4177, allocations: 10.19 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.4177, allocations: 0 / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4177, allocations: 4 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4178, allocations: 23.97 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4178, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.4179, allocations: 8 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4179, allocations: 7.984 kB / 0.5694 GB, free: 12.07 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.0002212/0.4181, allocations: 218.5 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.4182, allocations: 43.72 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.4187, allocations: 189.8 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4187, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4187, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4187, allocations: 0 / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.4195, allocations: 497.4 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4195, allocations: 4 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/0.4195, allocations: 19.98 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4195, allocations: 3.984 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4196, allocations: 8 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4196, allocations: 3.938 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4196, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.4199, allocations: 259.2 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.42, allocations: 35.66 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.42, allocations: 4 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4201, allocations: 15.92 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.4202, allocations: 7.984 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.4202, allocations: 0 / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006835/0.4209, allocations: 0.6589 MB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4209, allocations: 0 / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4211, allocations: 31.94 kB / 0.5713 GB, free: 10.01 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.00237/0.4235, allocations: 1.092 MB / 0.5724 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.424, allocations: 95.84 kB / 0.5725 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.424, allocations: 0 / 0.5725 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.4241, allocations: 43.97 kB / 0.5725 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.4246, allocations: 30.23 kB / 0.5725 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.4291, allocations: 3.386 MB / 0.5758 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.4296, allocations: 0.826 MB / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.953e-05/0.4297, allocations: 24.66 kB / 0.5767 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4299, allocations: 119.4 kB / 0.5768 GB, free: 4.395 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4299, allocations: 0 / 0.5768 GB, free: 4.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.4631, allocations: 6.348 MB / 0.583 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.969, allocations: 9.375 kB / 0.583 GB, free: 14.04 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.022727733012289] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.110538593959063 9.126379123 8.711236481 Calling exit ...