Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001585/0.001585, allocations: 109 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.001817/0.001817, allocations: 213.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.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.3104/0.3104, allocations: 46.93 MB / 361.6 MB, free: 4.266 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",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.002434/0.002434, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4106, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003503/0.4141, allocations: 1.687 MB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4152, allocations: 0.5693 MB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.4153, allocations: 0 / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.416, allocations: 467.1 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.4166, allocations: 291.3 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.4171, allocations: 131.6 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.4174, allocations: 171.6 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.4176, allocations: 13.97 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.4178, allocations: 119.6 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.4182, allocations: 247.5 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4182, allocations: 4 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.4183, allocations: 51.97 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.4185, allocations: 87.69 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.4186, allocations: 106.9 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.419, allocations: 290.4 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.419, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.419, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.419, allocations: 4 kB / 0.5656 GB, free: 76 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008867/0.4199, allocations: 0.5933 MB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4199, allocations: 8.031 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.42, allocations: 42.73 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4201, allocations: 44.66 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.4204, allocations: 250.7 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.4205, allocations: 4.375 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4205, allocations: 4.375 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4206, allocations: 58.23 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4207, allocations: 3.938 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4207, allocations: 8 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4207, allocations: 0 / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.4208, allocations: 27.92 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4214, allocations: 371.7 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.4215, allocations: 50.69 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.4215, allocations: 12.84 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4216, allocations: 4 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4216, allocations: 34.56 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4216, allocations: 0 / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001075/0.4227, allocations: 320.8 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.4227, allocations: 51.41 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.4237, allocations: 0.8737 MB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4237, allocations: 29.7 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.4239, allocations: 224.1 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.424, allocations: 39.66 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.424, allocations: 21.72 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4242, allocations: 362.8 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.4243, allocations: 23.98 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.4244, allocations: 23.98 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.4245, allocations: 64.77 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4245, allocations: 0 / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002563/0.4248, allocations: 137.4 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4248, allocations: 4 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4248, allocations: 4 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4248, allocations: 0 / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4249, allocations: 16.03 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4249, allocations: 0 / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.425, allocations: 11.92 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.425, allocations: 8 kB / 0.5692 GB, free: 12.18 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 (8): * Single equations (assignments): 8 * 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.0002215/0.4252, allocations: 222.6 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.4253, allocations: 47.67 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.4257, allocations: 157.5 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4257, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4257, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4257, allocations: 7.938 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.4264, allocations: 486.7 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4264, allocations: 0 / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.4264, allocations: 23.92 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.4265, allocations: 3.938 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4265, allocations: 4 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4265, allocations: 0 / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4265, allocations: 0 / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.4268, allocations: 248.1 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.4268, allocations: 39.64 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.4269, allocations: 4 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.427, allocations: 11.94 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.427, allocations: 3.984 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.427, allocations: 7.938 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006862/0.4277, allocations: 0.6628 MB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4277, allocations: 3.938 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.428, allocations: 31.94 kB / 0.5711 GB, free: 10.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00219/0.4302, allocations: 1.123 MB / 0.5722 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.4304, allocations: 67.88 kB / 0.5723 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4304, allocations: 4 kB / 0.5723 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.4305, allocations: 31.92 kB / 0.5723 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.4309, allocations: 29.42 kB / 0.5723 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.435, allocations: 3.329 MB / 0.5756 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.4355, allocations: 0.8299 MB / 0.5764 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.4356, allocations: 20.72 kB / 0.5764 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.4357, allocations: 107.4 kB / 0.5765 GB, free: 4.621 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4357, allocations: 0 / 0.5765 GB, free: 4.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.4675, allocations: 6.471 MB / 0.5828 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.627/9.095, allocations: 5.719 kB / 0.5829 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.151956641115248] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.245035156607628 9.268341006 8.846042495 Calling exit ...