Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test4",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.009596/0.009596, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.583/1.583, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.00196/0.00196, allocations: 111 kB / 226.2 MB, free: 10.1 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.4204/0.4204, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006145, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.105, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.5049, allocations: 74.54 MB / 486.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5052, allocations: 68.72 kB / 486.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.5208, allocations: 5.192 MB / 491.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5209, allocations: 0 / 491.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.5209, allocations: 4 kB / 491.5 MB, free: 8.414 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.0007082/0.5216, allocations: 0.6402 MB / 492.1 MB, free: 7.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5217, allocations: 8.031 kB / 492.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.5217, allocations: 30.56 kB / 492.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.5218, allocations: 50.69 kB / 492.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.5223, allocations: 322.9 kB / 492.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5223, allocations: 0 / 492.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.5224, allocations: 15.5 kB / 492.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5225, allocations: 52.53 kB / 492.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5226, allocations: 0 / 492.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5226, allocations: 0 / 492.6 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5226, allocations: 5.031 kB / 492.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.5228, allocations: 27.47 kB / 492.6 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.5234, allocations: 434 kB / 493.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.5236, allocations: 46.19 kB / 493.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.5236, allocations: 0 / 493.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.5237, allocations: 30.56 kB / 493.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.5237, allocations: 4 kB / 493.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008469/0.5245, allocations: 243.1 kB / 493.4 MB, free: 6.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5246, allocations: 55.41 kB / 493.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5261, allocations: 0.7707 MB / 494.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.5261, allocations: 25.7 kB / 494.2 MB, free: 5.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.5263, allocations: 220.2 kB / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5263, allocations: 15.62 kB / 494.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.5263, allocations: 0 / 494.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.5264, allocations: 358.1 kB / 494.8 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5266, allocations: 27.92 kB / 494.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5267, allocations: 23.42 kB / 494.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.5269, allocations: 59.62 kB / 494.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5269, allocations: 7.469 kB / 494.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003648/0.5272, allocations: 158.2 kB / 495.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.5273, allocations: 29.7 kB / 495.1 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5273, allocations: 4 kB / 495.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5273, allocations: 0 / 495.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.5274, allocations: 19.94 kB / 495.1 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5275, allocations: 0 / 495.1 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5276, allocations: 8 kB / 495.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.5276, allocations: 7.938 kB / 495.1 MB, free: 4.969 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.0002195/0.5278, allocations: 206.1 kB / 495.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.5279, allocations: 43.47 kB / 495.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.5284, allocations: 144.2 kB / 495.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5284, allocations: 4.281 kB / 495.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5284, allocations: 3.953 kB / 495.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5284, allocations: 3.984 kB / 495.5 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.5294, allocations: 0.5774 MB / 496.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5294, allocations: 4.375 kB / 496.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.5295, allocations: 12 kB / 496.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5295, allocations: 4 kB / 496.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5296, allocations: 11.83 kB / 496.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.5296, allocations: 3.984 kB / 496.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5296, allocations: 0 / 496.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.53, allocations: 218.7 kB / 496.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.5302, allocations: 156.1 kB / 496.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.5302, allocations: 0 / 496.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.5304, allocations: 7.953 kB / 496.5 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.5305, allocations: 15.86 kB / 496.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5305, allocations: 0 / 496.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008935/0.5314, allocations: 0.6256 MB / 497.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5314, allocations: 0 / 497.2 MB, free: 3.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003929/0.5318, allocations: 62.86 kB / 497.2 MB, free: 3.086 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.001081/0.5329, allocations: 0.8933 MB / 498.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.5332, allocations: 112.4 kB / 498.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5332, allocations: 7.25 kB / 498.2 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.5334, allocations: 23.55 kB / 498.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.5337, allocations: 28.22 kB / 498.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.5357, allocations: 1.318 MB / 499.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.5361, allocations: 0.823 MB / 0.4887 GB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.5362, allocations: 40.16 kB / 0.4887 GB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.5364, allocations: 104.9 kB / 0.4888 GB, free: 15.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5365, allocations: 0 / 0.4888 GB, free: 15.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.5715, allocations: 5.977 MB / 0.4947 GB, free: 9.973 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.5719, allocations: 213.7 kB / 0.4949 GB, free: 9.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.976, allocations: 0 / 0.4949 GB, free: 9.73 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat