Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test2",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.009484/0.009489, allocations: 166.2 kB / 15.11 MB, free: 5.984 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.556/1.556, allocations: 170.8 MB / 186.7 MB, free: 1.121 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.001886/0.001886, allocations: 107.4 kB / 226.2 MB, free: 10.12 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.4446/0.4446, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004526, allocations: 12 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09955, allocations: 48.7 MB / 411.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4806, allocations: 74.58 MB / 486.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4809, allocations: 76.42 kB / 486.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.4968, allocations: 5.285 MB / 491.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4969, allocations: 0 / 491.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.4969, allocations: 8 kB / 491.6 MB, free: 8.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006711/0.4976, allocations: 0.6335 MB / 492.3 MB, free: 7.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4977, allocations: 8.031 kB / 492.3 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.4977, allocations: 37.38 kB / 492.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.4978, allocations: 46.7 kB / 492.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.4983, allocations: 325 kB / 492.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4983, allocations: 7.312 kB / 492.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.4983, allocations: 4 kB / 492.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4985, allocations: 51.03 kB / 492.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4985, allocations: 0 / 492.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4986, allocations: 4 kB / 492.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4986, allocations: 1.031 kB / 492.7 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.4987, allocations: 26.17 kB / 492.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.4993, allocations: 433.6 kB / 493.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4996, allocations: 50.17 kB / 493.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4997, allocations: 0 / 493.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.4997, allocations: 34.56 kB / 493.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4997, allocations: 0 / 493.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008247/0.5005, allocations: 255 kB / 493.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5006, allocations: 51.41 kB / 493.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5021, allocations: 0.772 MB / 494.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5021, allocations: 25.7 kB / 494.4 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5023, allocations: 210.9 kB / 494.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5023, allocations: 19.36 kB / 494.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.5023, allocations: 0 / 494.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.5024, allocations: 361.7 kB / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5026, allocations: 27.23 kB / 495 MB, free: 5.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.5027, allocations: 24.98 kB / 495 MB, free: 5.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.5029, allocations: 56.31 kB / 495.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5029, allocations: 0 / 495.1 MB, free: 5.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003655/0.5032, allocations: 156 kB / 495.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.5033, allocations: 37.69 kB / 495.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5033, allocations: 3.094 kB / 495.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5033, allocations: 0 / 495.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5034, allocations: 19.2 kB / 495.3 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5035, allocations: 0 / 495.3 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5036, allocations: 11.98 kB / 495.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5036, allocations: 7.938 kB / 495.3 MB, free: 4.879 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 0.000209/0.5038, allocations: 214.2 kB / 495.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.504, allocations: 35.53 kB / 495.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.5043, allocations: 149.5 kB / 495.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5044, allocations: 0 / 495.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5044, allocations: 3.953 kB / 495.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5044, allocations: 0 / 495.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009554/0.5054, allocations: 0.5804 MB / 496.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5054, allocations: 3.984 kB / 496.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.5055, allocations: 12 kB / 496.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5055, allocations: 0 / 496.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5055, allocations: 7.078 kB / 496.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5055, allocations: 0 / 496.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5055, allocations: 0 / 496.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.5059, allocations: 224.1 kB / 496.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.5061, allocations: 155.2 kB / 496.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.5062, allocations: 3.938 kB / 496.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.5063, allocations: 11.95 kB / 496.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.5064, allocations: 7.297 kB / 496.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5064, allocations: 4 kB / 496.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008743/0.5073, allocations: 0.6255 MB / 497.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5073, allocations: 0 / 497.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000391/0.5077, allocations: 56 kB / 497.4 MB, free: 3.012 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.00104/0.5088, allocations: 0.9 MB / 498.3 MB, free: 2.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5091, allocations: 118.9 kB / 498.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5091, allocations: 0 / 498.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.5092, allocations: 27.23 kB / 498.4 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.5096, allocations: 21.59 kB / 498.4 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.5115, allocations: 1.323 MB / 499.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5119, allocations: 0.8251 MB / 0.4888 GB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.5121, allocations: 32.19 kB / 0.4889 GB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.5123, allocations: 103.1 kB / 0.489 GB, free: 15.84 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5123, allocations: 0 / 0.489 GB, free: 15.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.5478, allocations: 5.978 MB / 0.4948 GB, free: 9.891 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/0.5483, allocations: 214.2 kB / 0.495 GB, free: 9.648 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.902, allocations: 0 / 0.495 GB, free: 9.648 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat