Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01276/0.01276, allocations: 166.3 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.731/1.731, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001949/0.001949, allocations: 118.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4263/0.4263, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.5021, allocations: 74.75 MB / 486.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5024, allocations: 69.19 kB / 486.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5159, allocations: 3.71 MB / 490.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5159, allocations: 0 / 490.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.516, allocations: 4 kB / 490.2 MB, free: 9.988 MB / 330.7 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.0003941/0.5164, allocations: 406.8 kB / 490.6 MB, free: 9.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5164, allocations: 8.031 kB / 490.6 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.5165, allocations: 30.56 kB / 490.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.5165, allocations: 7.906 kB / 490.7 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.5167, allocations: 190 kB / 490.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.5167, allocations: 0 / 490.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.5168, allocations: 4 kB / 490.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.517, allocations: 72.89 kB / 490.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.517, allocations: 3.125 kB / 490.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.517, allocations: 0 / 490.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.517, allocations: 0 / 490.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.5172, allocations: 27.59 kB / 491 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.5176, allocations: 294.4 kB / 491.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.5178, allocations: 56.36 kB / 491.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5179, allocations: 0 / 491.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.5179, allocations: 30.56 kB / 491.3 MB, free: 8.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5179, allocations: 4 kB / 491.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007672/0.5187, allocations: 161.3 kB / 491.5 MB, free: 8.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.5187, allocations: 81.11 kB / 491.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5188, allocations: 115.1 kB / 491.7 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.5189, allocations: 25.7 kB / 491.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.5189, allocations: 87.58 kB / 491.8 MB, free: 8.281 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.5189, allocations: 19.17 kB / 491.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.519, allocations: 0 / 491.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.519, allocations: 322.2 kB / 492.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.5192, allocations: 27.67 kB / 492.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.5193, allocations: 50.47 kB / 492.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5195, allocations: 59.25 kB / 492.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5195, allocations: 0 / 492.3 MB, free: 7.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003305/0.5198, allocations: 127.5 kB / 492.4 MB, free: 7.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.5199, allocations: 29.7 kB / 492.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5199, allocations: 4 kB / 492.4 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5199, allocations: 0 / 492.4 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.52, allocations: 15.98 kB / 492.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.52, allocations: 0 / 492.4 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.5201, allocations: 11.25 kB / 492.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5201, allocations: 4 kB / 492.4 MB, free: 7.629 MB / 330.7 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.587e-05/0.5202, allocations: 126.2 kB / 492.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.5203, allocations: 3.906 kB / 492.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.5207, allocations: 108.8 kB / 492.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5207, allocations: 0 / 492.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5207, allocations: 0 / 492.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5207, allocations: 0 / 492.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.5212, allocations: 361.3 kB / 493 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5213, allocations: 7.938 kB / 493 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.862e-05/0.5214, allocations: 15.98 kB / 493.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5214, allocations: 0 / 493.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5214, allocations: 2.312 kB / 493.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5214, allocations: 0 / 493.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5214, allocations: 4 kB / 493.1 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.5218, allocations: 197.9 kB / 493.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.5218, allocations: 81.11 kB / 493.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5218, allocations: 0 / 493.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.5219, allocations: 11.73 kB / 493.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.522, allocations: 4 kB / 493.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.522, allocations: 0 / 493.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.5221, allocations: 101.3 kB / 493.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5221, allocations: 0 / 493.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.5225, allocations: 35.72 kB / 493.5 MB, free: 6.566 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.5238, allocations: 0.9597 MB / 494.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.5241, allocations: 118.6 kB / 494.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5241, allocations: 0 / 494.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.5243, allocations: 35.78 kB / 494.6 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.5245, allocations: 7.812 kB / 494.6 MB, free: 5.535 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.527, allocations: 1.105 MB / 495.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.5271, allocations: 0.6887 MB / 496.4 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.5272, allocations: 12.17 kB / 496.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.5273, allocations: 18.92 kB / 496.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5273, allocations: 4 kB / 496.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.085/0.6123, allocations: 2.131 MB / 498.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.6126, allocations: 204.3 kB / 498.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.884, allocations: 0 / 498.8 MB, free: 1.68 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat