Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001761/0.001761, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002201/0.002201, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.226/0.226, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",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.002369/0.002369, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3176, allocations: 66.08 MB / 0.5615 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003352/0.321, allocations: 1.671 MB / 0.5632 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.322, allocations: 0.5653 MB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.3221, allocations: 4 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.3227, allocations: 451.1 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.3232, allocations: 295.3 kB / 0.5644 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3236, allocations: 127.6 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3238, allocations: 175.6 kB / 0.5647 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3239, allocations: 13.95 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3241, allocations: 111.8 kB / 0.5648 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3244, allocations: 247.5 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3244, allocations: 4 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.3245, allocations: 35.92 kB / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3246, allocations: 87.67 kB / 0.5652 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.3247, allocations: 107 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.325, allocations: 262.6 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.325, allocations: 0 / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.325, allocations: 0 / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.325, allocations: 3.938 kB / 0.5656 GB, free: 72 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.000793/0.3258, allocations: 0.5778 MB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3259, allocations: 12.03 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.3259, allocations: 38.69 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.326, allocations: 48.61 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3263, allocations: 246.8 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3263, allocations: 8.359 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3263, allocations: 4.375 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3264, allocations: 54.23 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3265, allocations: 3.938 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.3265, allocations: 0 / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3265, allocations: 0 / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.3266, allocations: 23.98 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.327, allocations: 375.6 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3273, allocations: 38.56 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3273, allocations: 16.94 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3273, allocations: 0 / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3273, allocations: 38.5 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3273, allocations: 3.938 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006101/0.328, allocations: 228.7 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.328, allocations: 59.34 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/0.3289, allocations: 0.8699 MB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3289, allocations: 29.69 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3291, allocations: 220.1 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3292, allocations: 23.91 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3292, allocations: 25.7 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3294, allocations: 358.7 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.3294, allocations: 19.98 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.3295, allocations: 19.98 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3296, allocations: 48.77 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3296, allocations: 0 / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002158/0.3299, allocations: 125.5 kB / 0.5689 GB, free: 12.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3299, allocations: 8 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3299, allocations: 4.062 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3299, allocations: 0 / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.33, allocations: 11.98 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.33, allocations: 4 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.33, allocations: 3.984 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.33, allocations: 4 kB / 0.569 GB, free: 12.35 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 0.000205/0.3302, allocations: 218.6 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3303, allocations: 43.72 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.3306, allocations: 137.2 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3306, allocations: 0 / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3306, allocations: 4 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3306, allocations: 0 / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.3312, allocations: 433.5 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3312, allocations: 0 / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.3313, allocations: 15.98 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3313, allocations: 0 / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3313, allocations: 0 / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3313, allocations: 3.938 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3313, allocations: 0 / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3315, allocations: 223.1 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3316, allocations: 39.7 kB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.3316, allocations: 0 / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.3317, allocations: 7.938 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.3317, allocations: 4.172 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.3317, allocations: 12 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006752/0.3324, allocations: 0.6589 MB / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3324, allocations: 0 / 0.5707 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3327, allocations: 27.88 kB / 0.5707 GB, free: 10.46 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.001935/0.3346, allocations: 1.053 MB / 0.5718 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3348, allocations: 47.97 kB / 0.5718 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3348, allocations: 0 / 0.5718 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.3349, allocations: 23.92 kB / 0.5718 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3353, allocations: 30.23 kB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3392, allocations: 3.24 MB / 0.575 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3396, allocations: 0.8338 MB / 0.5758 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.3397, allocations: 11.98 kB / 0.5759 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3398, allocations: 103.4 kB / 0.576 GB, free: 5.117 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3398, allocations: 0 / 0.576 GB, free: 5.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3696, allocations: 6.129 MB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.846/9.216, allocations: 8.75 kB / 0.5819 GB, free: 14.99 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.05636961106211] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y'] 9.357016040943563 9.372600638 9.04451088 Calling exit ...