Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001553/0.001553, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.001744/0.001744, allocations: 215.3 kB / 23.72 MB, free: 5.055 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.418/1.418, allocations: 230.2 MB / 257.1 MB, free: 8.473 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.2261/0.2261, allocations: 46.89 MB / 360.3 MB, free: 4.621 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",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.002318/0.002318, allocations: 83.86 kB / 0.4956 GB, free: 8.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3088, allocations: 66 MB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003128/0.312, allocations: 1.679 MB / 0.5617 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.313, allocations: 0.6044 MB / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.3131, allocations: 0 / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.3137, allocations: 459.1 kB / 0.5627 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.3141, allocations: 287.3 kB / 0.563 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3146, allocations: 179.2 kB / 0.5631 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.3148, allocations: 183.6 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3149, allocations: 18.03 kB / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3151, allocations: 111.7 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.3153, allocations: 255.5 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3154, allocations: 4 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3155, allocations: 47.98 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3156, allocations: 87.62 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.3157, allocations: 115 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.3161, allocations: 286.5 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3161, allocations: 3.938 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3161, allocations: 0 / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3161, allocations: 0 / 0.5642 GB, free: 0.5898 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008038/0.3169, allocations: 0.6686 MB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3169, allocations: 11.97 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.317, allocations: 46.67 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.317, allocations: 44.66 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3174, allocations: 304.6 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3174, allocations: 8.375 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3174, allocations: 8.375 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3176, allocations: 65.92 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3176, allocations: 0 / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3176, allocations: 3.984 kB / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3176, allocations: 0 / 0.5653 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3177, allocations: 35.97 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.3183, allocations: 412.6 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.3184, allocations: 46.66 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.3185, allocations: 16.84 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3185, allocations: 4 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3185, allocations: 30.66 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3185, allocations: 3.938 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001036/0.3196, allocations: 336.5 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3196, allocations: 51.41 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/0.3205, allocations: 0.8815 MB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3205, allocations: 29.7 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3207, allocations: 220.1 kB / 0.5673 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3208, allocations: 31.73 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.3208, allocations: 21.72 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.321, allocations: 362.8 kB / 0.5677 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.3211, allocations: 31.97 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.3212, allocations: 31.98 kB / 0.5678 GB, free: 12.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3214, allocations: 81.03 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3214, allocations: 0 / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002895/0.3217, allocations: 149.3 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3217, allocations: 6.344 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3217, allocations: 0 / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3217, allocations: 0 / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3218, allocations: 23.98 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3218, allocations: 3.938 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.3219, allocations: 8 kB / 0.568 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3219, allocations: 15.86 kB / 0.568 GB, free: 12.4 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.0002077/0.3221, allocations: 209.8 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.3222, allocations: 43.72 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.3226, allocations: 181.4 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3226, allocations: 8 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3226, allocations: 3.938 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3226, allocations: 3.984 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.3234, allocations: 0.5148 MB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3234, allocations: 4 kB / 0.569 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.3235, allocations: 23.92 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3235, allocations: 0 / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3235, allocations: 8.031 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3235, allocations: 3.984 kB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3235, allocations: 0 / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.3238, allocations: 244 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3239, allocations: 128.7 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.324, allocations: 0 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.3241, allocations: 8.422 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3241, allocations: 7.984 kB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3241, allocations: 0 / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007053/0.3248, allocations: 0.6667 MB / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3248, allocations: 0 / 0.57 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3251, allocations: 20 kB / 0.5701 GB, free: 10.22 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.002319/0.3274, allocations: 1.139 MB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3277, allocations: 79.88 kB / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3277, allocations: 0 / 0.5712 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3278, allocations: 39.97 kB / 0.5713 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3282, allocations: 28.83 kB / 0.5713 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.3325, allocations: 3.403 MB / 0.5746 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.3331, allocations: 0.8376 MB / 0.5754 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.975e-05/0.3332, allocations: 24.72 kB / 0.5755 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.3334, allocations: 123.4 kB / 0.5756 GB, free: 4.578 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3334, allocations: 0 / 0.5756 GB, free: 4.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.3636, allocations: 6.498 MB / 0.5819 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.82/9.184, allocations: 4.062 kB / 0.5819 GB, free: 14.06 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.023081622086465] 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.314960639923811 9.34554806 9.023613922 Calling exit ...