Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.00204/0.00204, 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.002161/0.002161, allocations: 213.2 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.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8 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.228/0.228, 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002344/0.002344, allocations: 79.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3229, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003387/0.3263, allocations: 1.687 MB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3275, allocations: 0.6122 MB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.3276, allocations: 4 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.3282, allocations: 447.2 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.3287, allocations: 295.3 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.3292, allocations: 171.1 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3295, allocations: 183.6 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3296, allocations: 22.2 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3297, allocations: 115.7 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.33, allocations: 247.5 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.33, allocations: 4 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3302, allocations: 55.97 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3303, allocations: 87.62 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3304, allocations: 107 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.3308, allocations: 290.5 kB / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3308, allocations: 0 / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3308, allocations: 0 / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3308, allocations: 0 / 0.5657 GB, free: 16 MB / 414.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.0008622/0.3317, allocations: 0.6048 MB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3317, allocations: 8.031 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.3318, allocations: 42.69 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.3318, allocations: 40.66 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3321, allocations: 246.8 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3322, allocations: 4.375 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3322, allocations: 12.22 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3323, allocations: 58.23 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3324, allocations: 3.938 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3324, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3324, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3325, allocations: 35.97 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.3331, allocations: 387.7 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.3332, allocations: 46.56 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.3332, allocations: 20.94 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3332, allocations: 96 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3333, allocations: 34.5 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.3333, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009652/0.3342, allocations: 332.8 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3343, allocations: 55.34 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.3352, allocations: 0.8854 MB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3352, allocations: 25.7 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.3354, allocations: 224.1 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3355, allocations: 35.72 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3355, allocations: 21.72 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3357, allocations: 362.8 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3358, allocations: 27.98 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.3359, allocations: 35.97 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3361, allocations: 77.05 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3361, allocations: 3.938 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002653/0.3363, allocations: 149.3 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3364, allocations: 4 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3364, allocations: 0 / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3364, allocations: 4 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3365, allocations: 15.98 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3365, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.3365, allocations: 15.94 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3366, allocations: 7.938 kB / 0.5694 GB, free: 12.02 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.0002234/0.3368, allocations: 218.6 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3368, allocations: 43.72 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.3372, allocations: 177.5 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3372, allocations: 4 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3372, allocations: 8 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3372, allocations: 3.938 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.3379, allocations: 494.2 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3379, allocations: 0 / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.338, allocations: 23.98 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.338, allocations: 3.938 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.338, allocations: 4 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.338, allocations: 7.969 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.338, allocations: 0 / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3383, allocations: 244.1 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3384, allocations: 47.59 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3384, allocations: 4 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3385, allocations: 7.984 kB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3386, allocations: 8 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3386, allocations: 0 / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006867/0.3392, allocations: 0.6628 MB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.3395, allocations: 27.98 kB / 0.5713 GB, free: 9.957 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.00222/0.3417, allocations: 1.138 MB / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.342, allocations: 79.89 kB / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.342, allocations: 0 / 0.5725 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3421, allocations: 39.97 kB / 0.5725 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3425, allocations: 29.67 kB / 0.5726 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.3468, allocations: 3.404 MB / 0.5759 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.3474, allocations: 0.826 MB / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.924e-05/0.3475, allocations: 24.72 kB / 0.5767 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3476, allocations: 127.4 kB / 0.5768 GB, free: 4.305 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3476, allocations: 0 / 0.5768 GB, free: 4.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.3793, allocations: 6.548 MB / 0.5832 GB, free: 13.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/8.908, allocations: 13.48 kB / 0.5833 GB, free: 13.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.812436840962619] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.049382432363927 9.077197426 8.740964569 Calling exit ...