Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001261/0.001261, 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.001481/0.001481, 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.433/1.433, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2382/0.2382, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.00258/0.00258, allocations: 87.84 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3185, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003206/0.3217, allocations: 1.675 MB / 0.5632 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3227, allocations: 0.5732 MB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.3228, allocations: 0 / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.3234, allocations: 455.1 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.3239, allocations: 299.3 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.3242, allocations: 123.6 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3245, allocations: 175.6 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3246, allocations: 13.95 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3247, allocations: 115.7 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.325, allocations: 255.5 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3251, allocations: 4 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3251, allocations: 31.98 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3253, allocations: 83.69 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.3253, allocations: 110.9 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.3257, allocations: 270.6 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3257, allocations: 0 / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3257, allocations: 4 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3257, allocations: 4 kB / 0.5656 GB, free: 148 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.0007418/0.3264, allocations: 0.5892 MB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3265, allocations: 12.03 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3265, allocations: 34.73 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3266, allocations: 44.66 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3268, allocations: 250.7 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3268, allocations: 4.375 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.3269, allocations: 384 / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.327, allocations: 62.23 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.327, allocations: 3.938 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3271, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3271, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3272, allocations: 39.89 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.3276, allocations: 367.7 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3278, allocations: 46.56 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.3278, allocations: 16.94 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3279, allocations: 4 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3279, allocations: 38.55 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.3279, allocations: 0 / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000832/0.3287, allocations: 292.6 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3288, allocations: 51.41 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.3297, allocations: 0.8737 MB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3297, allocations: 29.7 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3299, allocations: 220.1 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3299, allocations: 23.88 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.33, allocations: 25.66 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.3301, allocations: 362.7 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3303, allocations: 35.97 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.3304, allocations: 31.91 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.3306, allocations: 76.81 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3306, allocations: 0 / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002919/0.3309, allocations: 141.4 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3309, allocations: 10.19 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3309, allocations: 320 / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3309, allocations: 4 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.331, allocations: 23.97 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.331, allocations: 3.938 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.3311, allocations: 11.92 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3311, allocations: 7.984 kB / 0.5692 GB, free: 12.24 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.0002055/0.3313, allocations: 214.6 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3314, allocations: 43.72 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3317, allocations: 177.5 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3317, allocations: 0 / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3317, allocations: 0 / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3318, allocations: 288 / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00067/0.3324, allocations: 477.4 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.3324, allocations: 7.938 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.3325, allocations: 15.98 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3325, allocations: 7.984 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3325, allocations: 3.984 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.3325, allocations: 3.938 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3325, allocations: 0 / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3329, allocations: 247.1 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.3329, allocations: 43.7 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.333, allocations: 0 / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3331, allocations: 15.94 kB / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.3331, allocations: 3.984 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3331, allocations: 4 kB / 0.5704 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.3338, allocations: 0.6589 MB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.334, allocations: 28 kB / 0.5711 GB, free: 10.23 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.002005/0.3361, allocations: 1.079 MB / 0.5721 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3363, allocations: 79.88 kB / 0.5722 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3363, allocations: 0 / 0.5722 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3364, allocations: 43.91 kB / 0.5722 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3368, allocations: 26.56 kB / 0.5723 GB, free: 9.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.3409, allocations: 3.327 MB / 0.5755 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.3414, allocations: 0.8221 MB / 0.5763 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.3414, allocations: 12.67 kB / 0.5763 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3416, allocations: 107.4 kB / 0.5764 GB, free: 4.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3416, allocations: 0 / 0.5764 GB, free: 4.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.372, allocations: 6.261 MB / 0.5826 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.018, allocations: 12.55 kB / 0.5826 GB, free: 14.46 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.904218189883977] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.165478039067239 9.194932187 8.863777342 Calling exit ...