Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.02268/0.02268, allocations: 166.2 kB / 15.11 MB, free: 6.043 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.713/1.713, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001955/0.001955, allocations: 110.5 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.4568/0.4568, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004961, allocations: 15.98 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5231, allocations: 74.13 MB / 485.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.5233, allocations: 66.72 kB / 485.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04132/0.5647, allocations: 8.205 MB / 494.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5647, allocations: 4 kB / 494.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.5648, allocations: 0 / 494.1 MB, free: 6.164 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003552/0.5651, allocations: 351.8 kB / 494.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5652, allocations: 12.03 kB / 494.4 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.5652, allocations: 30.56 kB / 494.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.5653, allocations: 0 / 494.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.5654, allocations: 164.4 kB / 494.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5654, allocations: 0.875 kB / 494.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.5654, allocations: 4 kB / 494.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.594e-05/0.5655, allocations: 33.69 kB / 494.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5655, allocations: 4 kB / 494.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5655, allocations: 0 / 494.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5656, allocations: 0 / 494.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.5656, allocations: 7.875 kB / 494.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.5657, allocations: 150.7 kB / 494.8 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.5658, allocations: 18.53 kB / 494.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.5658, allocations: 8.094 kB / 494.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5659, allocations: 38.36 kB / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.5659, allocations: 0 / 494.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.566, allocations: 37.64 kB / 494.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.5661, allocations: 51.41 kB / 495 MB, free: 5.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.5661, allocations: 89 kB / 495.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5662, allocations: 25.7 kB / 495.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.5662, allocations: 88.33 kB / 495.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.5662, allocations: 3.906 kB / 495.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.5662, allocations: 0 / 495.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.5663, allocations: 314.8 kB / 495.5 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.5663, allocations: 4 kB / 495.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.5663, allocations: 0 / 495.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.986e-05/0.5664, allocations: 0 / 495.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5664, allocations: 4 kB / 495.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.997e-05/0.5665, allocations: 41.69 kB / 495.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5665, allocations: 12 kB / 495.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5665, allocations: 0 / 495.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5665, allocations: 7.406 kB / 495.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.5665, allocations: 3.984 kB / 495.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5666, allocations: 0 / 495.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.5666, allocations: 3.812 kB / 495.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.5666, allocations: 4 kB / 495.6 MB, free: 4.492 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.063e-05/0.5667, allocations: 106.9 kB / 495.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.5667, allocations: 3.953 kB / 495.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.5668, allocations: 48.5 kB / 495.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5669, allocations: 0 / 495.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5669, allocations: 0 / 495.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5669, allocations: 0 / 495.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.44e-05/0.567, allocations: 145.7 kB / 495.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.567, allocations: 11.91 kB / 495.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.567, allocations: 0 / 495.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.567, allocations: 0 / 495.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.567, allocations: 11.98 kB / 495.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.567, allocations: 0 / 495.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.567, allocations: 0 / 495.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.5671, allocations: 57.02 kB / 495.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.5672, allocations: 81.09 kB / 496 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.5672, allocations: 0 / 496 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.5673, allocations: 7.953 kB / 496 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.5673, allocations: 4.031 kB / 496 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.5673, allocations: 0 / 496 MB, free: 3.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.652e-05/0.5673, allocations: 79.28 kB / 496.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5674, allocations: 0 / 496.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004371/0.5678, allocations: 55.8 kB / 496.2 MB, free: 3.801 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005405/0.5683, allocations: 0.6436 MB / 496.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5685, allocations: 29.7 kB / 496.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5685, allocations: 0 / 496.8 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.5685, allocations: 29.7 kB / 496.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5687, allocations: 8.906 kB / 496.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.5691, allocations: 142.1 kB / 497 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.5692, allocations: 0.6811 MB / 497.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.641e-05/0.5693, allocations: 0 / 497.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.5693, allocations: 7.438 kB / 497.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5693, allocations: 0 / 497.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.5935, allocations: 1.424 MB / 499.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.5938, allocations: 179.3 kB / 499.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.124, allocations: 0 / 499.3 MB, free: 0.6016 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat