Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001732/0.001732, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002354/0.002354, allocations: 209.9 kB / 24.54 MB, free: 4.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.427/1.427, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2221/0.2221, allocations: 46.93 MB / 361.6 MB, free: 4.23 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",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.002343/0.002343, allocations: 83.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3149, allocations: 66.07 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003074/0.318, allocations: 1.668 MB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.319, allocations: 0.5732 MB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.319, allocations: 3.938 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.3196, allocations: 451.1 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.3201, allocations: 295.3 kB / 0.5644 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.3205, allocations: 131 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3207, allocations: 171.6 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.3208, allocations: 17.95 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.321, allocations: 107.7 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.3212, allocations: 243.5 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3213, allocations: 8 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.3213, allocations: 39.92 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3215, allocations: 87.67 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.3216, allocations: 99 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.3219, allocations: 262.6 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3219, allocations: 3.938 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3219, allocations: 0 / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3219, allocations: 0 / 0.5655 GB, free: 208 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.0007602/0.3227, allocations: 0.5856 MB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3227, allocations: 12.03 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.3227, allocations: 38.73 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.3228, allocations: 48.59 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3231, allocations: 250.7 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3231, allocations: 4.375 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3231, allocations: 4.375 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3232, allocations: 46.25 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3233, allocations: 3.938 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3233, allocations: 4 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3233, allocations: 4 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.3234, allocations: 27.97 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.3239, allocations: 363.7 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3241, allocations: 42.56 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.3241, allocations: 16.94 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3241, allocations: 4 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3242, allocations: 34.5 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3242, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006195/0.3248, allocations: 228.7 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3248, allocations: 55.34 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.3258, allocations: 0.8738 MB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3258, allocations: 33.7 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.326, allocations: 224.1 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.326, allocations: 15.91 kB / 0.5684 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.3261, allocations: 21.7 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3263, allocations: 366.7 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-05/0.3263, allocations: 19.86 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.3264, allocations: 20.17 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3265, allocations: 56.83 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3265, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002172/0.3267, allocations: 117.3 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3268, allocations: 4 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3268, allocations: 7.922 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3268, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.3268, allocations: 12 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3268, allocations: 4 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3269, allocations: 11.98 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3269, allocations: 0 / 0.569 GB, free: 12.48 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.0002051/0.3271, allocations: 210.6 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.3272, allocations: 47.7 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.3275, allocations: 133.3 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3275, allocations: 0 / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3275, allocations: 7.938 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3275, allocations: 0 / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.3281, allocations: 433.5 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3281, allocations: 4 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.3281, allocations: 11.98 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3281, allocations: 0 / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3281, allocations: 192 / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.3281, allocations: 7.938 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3281, allocations: 8 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.3284, allocations: 215.1 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3285, allocations: 35.98 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3285, allocations: 0 / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.3286, allocations: 15.92 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3286, allocations: 7.984 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3286, allocations: 4 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006868/0.3293, allocations: 0.6589 MB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3293, allocations: 0 / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.3296, allocations: 27.94 kB / 0.5707 GB, free: 10.59 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.001956/0.3316, allocations: 1.053 MB / 0.5718 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.3318, allocations: 43.97 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3318, allocations: 0 / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.3319, allocations: 27.92 kB / 0.5718 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.3323, allocations: 30.23 kB / 0.5719 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.3361, allocations: 3.24 MB / 0.575 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3366, allocations: 0.8221 MB / 0.5758 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.3367, allocations: 11.98 kB / 0.5758 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3368, allocations: 103.4 kB / 0.5759 GB, free: 5.254 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3368, allocations: 4 kB / 0.5759 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3653, allocations: 6.143 MB / 0.5819 GB, free: 15.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/8.974, allocations: 1.375 kB / 0.5819 GB, free: 15.11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.78228801721707] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'const.y', 'clock.y'] 9.123525294940919 9.148685603 8.822169768 Calling exit ...