Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001958/0.001958, allocations: 108.5 kB / 19.8 MB, free: 2.5 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: 217.7 kB / 23 MB, free: 5.582 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.512/1.512, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2446/0.2446, allocations: 46.89 MB / 359.4 MB, free: 4.895 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002289/0.002289, allocations: 79.86 kB / 0.4942 GB, free: 8.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3524, allocations: 65.98 MB / 0.5586 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003184/0.3556, allocations: 1.619 MB / 0.5602 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3575, allocations: 1.239 MB / 0.5614 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.3576, allocations: 0 / 0.5614 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3578, allocations: 27.78 kB / 0.5614 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.3581, allocations: 87.61 kB / 0.5615 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.3584, allocations: 107.6 kB / 0.5616 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3586, allocations: 67.83 kB / 0.5617 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3586, allocations: 10.11 kB / 0.5617 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.3587, allocations: 35.84 kB / 0.5617 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3589, allocations: 39.78 kB / 0.5617 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3589, allocations: 0 / 0.5617 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.359, allocations: 91.94 kB / 0.5618 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.3591, allocations: 19.92 kB / 0.5618 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.3591, allocations: 23.84 kB / 0.5619 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.3594, allocations: 143.4 kB / 0.562 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3594, allocations: 0 / 0.562 GB, free: 1.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3594, allocations: 4 kB / 0.562 GB, free: 1.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3594, allocations: 0 / 0.562 GB, free: 1.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005188/0.3599, allocations: 406.8 kB / 0.5624 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3599, allocations: 8.031 kB / 0.5624 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.36, allocations: 30.75 kB / 0.5624 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.36, allocations: 12.89 kB / 0.5624 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3602, allocations: 204.1 kB / 0.5626 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3602, allocations: 8.312 kB / 0.5626 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3603, allocations: 384 / 0.5627 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3604, allocations: 67.95 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3604, allocations: 7.938 kB / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3604, allocations: 0 / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3604, allocations: 0 / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.3605, allocations: 23.98 kB / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.361, allocations: 280.8 kB / 0.563 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3612, allocations: 50.55 kB / 0.5631 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.3612, allocations: 12.86 kB / 0.5631 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3612, allocations: 4 kB / 0.5631 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3613, allocations: 30.56 kB / 0.5631 GB, free: 468 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3613, allocations: 0 / 0.5631 GB, free: 468 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005913/0.3619, allocations: 149.7 kB / 0.5632 GB, free: 312 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.3619, allocations: 85.11 kB / 0.5633 GB, free: 208 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3621, allocations: 148.3 kB / 0.5635 GB, free: 52 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3621, allocations: 25.7 kB / 0.5635 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.3622, allocations: 88.14 kB / 0.5636 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.3622, allocations: 27.78 kB / 0.5636 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3623, allocations: 17.72 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3624, allocations: 322.8 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.3625, allocations: 23.98 kB / 0.564 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.3626, allocations: 37.64 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3627, allocations: 52.83 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3627, allocations: 0 / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.3629, allocations: 85.61 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3629, allocations: 4.031 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3629, allocations: 7.984 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.363, allocations: 4.234 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.363, allocations: 19.98 kB / 0.5642 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.363, allocations: 7.938 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3631, allocations: 4 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3631, allocations: 3.984 kB / 0.5642 GB, free: 15.29 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 (5): * Single equations (assignments): 5 * 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 9.745e-05/0.3632, allocations: 117.8 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.3632, allocations: 11.89 kB / 0.5643 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3635, allocations: 97.95 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3635, allocations: 4 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3635, allocations: 0 / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3635, allocations: 0 / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.364, allocations: 362.4 kB / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.364, allocations: 0 / 0.5647 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.3641, allocations: 20 kB / 0.5648 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3641, allocations: 0 / 0.5648 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3641, allocations: 3.984 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3641, allocations: 0 / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3641, allocations: 3.938 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3643, allocations: 183.4 kB / 0.5649 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3644, allocations: 85.06 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3644, allocations: 4 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.3645, allocations: 8 kB / 0.565 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.3645, allocations: 7.922 kB / 0.565 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3645, allocations: 4 kB / 0.565 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3646, allocations: 109.6 kB / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3646, allocations: 0 / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.3649, allocations: 39.86 kB / 0.5652 GB, free: 14.14 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 (5): * Single equations (assignments): 5 * 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.002191/0.3671, allocations: 1.109 MB / 0.5663 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3673, allocations: 47.91 kB / 0.5663 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3673, allocations: 0 / 0.5663 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.3674, allocations: 27.97 kB / 0.5663 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3678, allocations: 23.92 kB / 0.5664 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3696, allocations: 1.459 MB / 0.5678 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.37, allocations: 0.6885 MB / 0.5685 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.3701, allocations: 27.98 kB / 0.5685 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.3701, allocations: 27.42 kB / 0.5685 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3701, allocations: 0 / 0.5685 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.3975, allocations: 3.263 MB / 0.5717 GB, free: 7.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.41, allocations: 3.859 kB / 0.5717 GB, free: 7.504 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.440210561006097] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.533887536003022 8.556134321 8.192549174 Calling exit ...