Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01009/0.01009, allocations: 174.4 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.996/1.996, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001981/0.001981, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2818/0.2818, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 11.06 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.87 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.2597, allocations: 80.51 MB / 0.5289 GB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.26, allocations: 67.97 kB / 0.529 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3314/0.5915, allocations: 8.2 MB / 0.537 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5915, allocations: 4 kB / 0.537 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.5916, allocations: 0 / 0.537 GB, free: 82.89 MB / 378.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.0004589/0.592, allocations: 353.6 kB / 0.5374 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.5921, allocations: 8.562 kB / 0.5374 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.5921, allocations: 35.86 kB / 0.5374 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.5922, allocations: 8.984 kB / 0.5374 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.5923, allocations: 162 kB / 0.5376 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5923, allocations: 0 / 0.5376 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.5923, allocations: 1.125 kB / 0.5376 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.5924, allocations: 37.03 kB / 0.5376 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.5925, allocations: 0 / 0.5376 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5925, allocations: 0 / 0.5376 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5925, allocations: 0 / 0.5376 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.5925, allocations: 11.48 kB / 0.5376 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.5927, allocations: 146.8 kB / 0.5378 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.5927, allocations: 21.89 kB / 0.5378 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.5928, allocations: 0 / 0.5378 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5928, allocations: 41.17 kB / 0.5378 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.5928, allocations: 0 / 0.5378 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.593, allocations: 36.48 kB / 0.5379 GB, free: 81.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.593, allocations: 52.11 kB / 0.5379 GB, free: 81.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.5931, allocations: 94.59 kB / 0.538 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.5931, allocations: 26.5 kB / 0.538 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.5931, allocations: 81.89 kB / 0.5381 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.5932, allocations: 7.906 kB / 0.5381 GB, free: 81.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.5932, allocations: 0 / 0.5381 GB, free: 81.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.5933, allocations: 316.9 kB / 0.5384 GB, free: 81.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.5933, allocations: 1.969 kB / 0.5384 GB, free: 81.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.5933, allocations: 1.406 kB / 0.5384 GB, free: 81.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.5933, allocations: 5.312 kB / 0.5384 GB, free: 81.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5934, allocations: 0 / 0.5384 GB, free: 81.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.179e-05/0.5934, allocations: 36.58 kB / 0.5384 GB, free: 81.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5935, allocations: 9.906 kB / 0.5385 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.5935, allocations: 1.812 kB / 0.5385 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5935, allocations: 0 / 0.5385 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.5935, allocations: 5.781 kB / 0.5385 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5936, allocations: 1.219 kB / 0.5385 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.009e-05/0.5936, allocations: 1.312 kB / 0.5385 GB, free: 81.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.5937, allocations: 0 / 0.5385 GB, free: 81.31 MB / 378.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 7.27e-05/0.5937, allocations: 115.4 kB / 0.5386 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.5938, allocations: 1.344 kB / 0.5386 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.5939, allocations: 54.84 kB / 0.5386 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5939, allocations: 0.6562 kB / 0.5386 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.594, allocations: 1.469 kB / 0.5386 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.594, allocations: 0 / 0.5386 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.5941, allocations: 155.3 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5941, allocations: 1.531 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.5941, allocations: 0.7031 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5941, allocations: 1.344 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5941, allocations: 4.031 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5941, allocations: 1.438 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5941, allocations: 0.5625 kB / 0.5388 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.5942, allocations: 64.42 kB / 0.5388 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.5943, allocations: 82.81 kB / 0.5389 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.5943, allocations: 5.812 kB / 0.5389 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.5944, allocations: 3.203 kB / 0.5389 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.5944, allocations: 5.156 kB / 0.5389 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5944, allocations: 1.031 kB / 0.5389 GB, free: 80.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.007e-05/0.5945, allocations: 81.47 kB / 0.539 GB, free: 80.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5945, allocations: 0 / 0.539 GB, free: 80.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.5949, allocations: 49.55 kB / 0.5391 GB, free: 80.7 MB / 378.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.0006107/0.5956, allocations: 0.6438 MB / 0.5397 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.5957, allocations: 38.06 kB / 0.5397 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5957, allocations: 0 / 0.5397 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/0.5958, allocations: 29.67 kB / 0.5398 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.5959, allocations: 1.031 kB / 0.5398 GB, free: 80.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.5964, allocations: 132 kB / 0.5399 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.5966, allocations: 0.6832 MB / 0.5406 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.5966, allocations: 0.6094 kB / 0.5406 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.5966, allocations: 8.625 kB / 0.5406 GB, free: 79.16 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5966, allocations: 0 / 0.5406 GB, free: 79.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.62, allocations: 1.426 MB / 0.542 GB, free: 78.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.6203, allocations: 180.8 kB / 0.5421 GB, free: 78.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/2.948, allocations: 4 kB / 0.5421 GB, free: 78.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat