Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test7",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.009636/0.009636, allocations: 166.1 kB / 15.11 MB, free: 5.934 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.668/1.668, allocations: 170.8 MB / 186.6 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.001963/0.001963, allocations: 106.5 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.4364/0.4364, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004636, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.5019, allocations: 74.48 MB / 486.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5022, allocations: 70.66 kB / 486.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.5125, allocations: 2.641 MB / 488.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5126, allocations: 4 kB / 488.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.5126, allocations: 0 / 488.9 MB, free: 11.02 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.0004292/0.513, allocations: 410.4 kB / 489.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.5131, allocations: 8.031 kB / 489.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.5132, allocations: 34.55 kB / 489.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.5132, allocations: 4 kB / 489.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.5136, allocations: 186.2 kB / 489.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.5136, allocations: 0 / 489.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.5136, allocations: 4 kB / 489.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.5139, allocations: 61.3 kB / 489.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5139, allocations: 0 / 489.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.514, allocations: 0 / 489.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.514, allocations: 0 / 489.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.5142, allocations: 23.8 kB / 489.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.5147, allocations: 297 kB / 489.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.515, allocations: 54.17 kB / 489.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.515, allocations: 0 / 489.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.5151, allocations: 30.56 kB / 490 MB, free: 9.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.5151, allocations: 8 kB / 490 MB, free: 9.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008133/0.5159, allocations: 152.9 kB / 490.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.5159, allocations: 59.41 kB / 490.2 MB, free: 9.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5161, allocations: 131.9 kB / 490.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.5161, allocations: 25.7 kB / 490.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.5162, allocations: 95.81 kB / 490.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5162, allocations: 23.47 kB / 490.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.5162, allocations: 0 / 490.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.5163, allocations: 322.7 kB / 490.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.5164, allocations: 31.92 kB / 490.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5165, allocations: 23.92 kB / 490.8 MB, free: 8.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5167, allocations: 60.77 kB / 490.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5167, allocations: 0 / 490.9 MB, free: 8.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003347/0.5171, allocations: 131.4 kB / 491 MB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5171, allocations: 29.7 kB / 491 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5171, allocations: 7.922 kB / 491.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5171, allocations: 0 / 491.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.5173, allocations: 12.94 kB / 491.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5173, allocations: 0 / 491.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.5174, allocations: 23.64 kB / 491.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5174, allocations: 0 / 491.1 MB, free: 8.703 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.334e-05/0.5175, allocations: 122.4 kB / 491.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.5175, allocations: 0 / 491.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.5179, allocations: 112.9 kB / 491.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5179, allocations: 7.562 kB / 491.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5179, allocations: 4 kB / 491.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5179, allocations: 0 / 491.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.5186, allocations: 361 kB / 491.7 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5186, allocations: 0 / 491.7 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.5188, allocations: 19.94 kB / 491.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5188, allocations: 0 / 491.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5189, allocations: 4 kB / 491.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.5189, allocations: 3.984 kB / 491.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5189, allocations: 2.969 kB / 491.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.5194, allocations: 186.9 kB / 491.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.5195, allocations: 89.03 kB / 492 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.5196, allocations: 4 kB / 492 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.5198, allocations: 4 kB / 492 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5199, allocations: 3.984 kB / 492 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5199, allocations: 4 kB / 492 MB, free: 7.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.52, allocations: 108.1 kB / 492.1 MB, free: 7.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5201, allocations: 8 kB / 492.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000647/0.5207, allocations: 19.98 kB / 492.1 MB, free: 7.641 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.00178/0.5225, allocations: 0.8641 MB / 493 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.5232, allocations: 118.8 kB / 493.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5232, allocations: 4 kB / 493.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.5234, allocations: 35.73 kB / 493.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.5239, allocations: 4 kB / 493.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5251, allocations: 415.4 kB / 493.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.5254, allocations: 0.6964 MB / 494.3 MB, free: 5.535 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.5256, allocations: 16.17 kB / 494.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5257, allocations: 23.05 kB / 494.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of SimCode: time 4.609e-06/0.5257, allocations: 0 / 494.3 MB, free: 5.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.5488, allocations: 1.835 MB / 496.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/0.5492, allocations: 214.5 kB / 496.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/2.979, allocations: 0 / 496.3 MB, free: 3.473 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test7_res.mat does not exist to compare? outputFormat=mat