Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01601/0.01601, allocations: 109.4 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002072/0.002072, allocations: 176.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.244/2.244, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2871/0.2871, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 12 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1262, allocations: 54.88 MB / 416 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007511/0.127, allocations: 220.5 kB / 416.2 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1296, allocations: 1.33 MB / 417.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1296, allocations: 0 / 417.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1297, allocations: 0 / 417.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1297, allocations: 0 / 417.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.1306, allocations: 143.6 kB / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1306, allocations: 7.984 kB / 417.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.1307, allocations: 0 / 417.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.1307, allocations: 7.938 kB / 417.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1308, allocations: 8 kB / 417.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1308, allocations: 0 / 417.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005795/0.1314, allocations: 251.6 kB / 418 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1314, allocations: 4 kB / 418 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1315, allocations: 29.69 kB / 418 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1317, allocations: 83.83 kB / 418.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1317, allocations: 3.938 kB / 418.1 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1317, allocations: 0 / 418.1 MB, free: 500 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1317, allocations: 0 / 418.1 MB, free: 500 kB / 346.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.0004256/0.1321, allocations: 331.4 kB / 418.4 MB, free: 120 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1322, allocations: 8.031 kB / 418.4 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1322, allocations: 30.56 kB / 418.5 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.1323, allocations: 4 kB / 418.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1325, allocations: 170.9 kB / 418.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1325, allocations: 0 / 418.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1325, allocations: 3.953 kB / 418.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1326, allocations: 33.69 kB / 418.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1327, allocations: 3.984 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1327, allocations: 0 / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1327, allocations: 4 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.1327, allocations: 7.938 kB / 418.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.1329, allocations: 149.7 kB / 418.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/0.133, allocations: 18.61 kB / 418.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.133, allocations: 0 / 418.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1331, allocations: 34.52 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 4.518e-06/0.1331, allocations: 4 kB / 418.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.1332, allocations: 41.7 kB / 418.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1333, allocations: 51.41 kB / 419 MB, free: 15.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.1334, allocations: 97.84 kB / 419.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1334, allocations: 25.7 kB / 419.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1335, allocations: 80.14 kB / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1335, allocations: 288 / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1335, allocations: 0 / 419.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1336, allocations: 319.1 kB / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1337, allocations: 4 kB / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.075e-05/0.1337, allocations: 0 / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.1337, allocations: 4 kB / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1337, allocations: 0 / 419.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.175e-05/0.1338, allocations: 33.69 kB / 419.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.1339, allocations: 14.77 kB / 419.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1339, allocations: 3.938 kB / 419.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1339, allocations: 0 / 419.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.134, allocations: 4.094 kB / 419.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.134, allocations: 3.984 kB / 419.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.134, allocations: 8 kB / 419.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1341, allocations: 0 / 419.6 MB, free: 14.8 MB / 362.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): 1 * 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 prepare postOptimizeDAE: time 9.086e-05/0.1342, allocations: 113.8 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1342, allocations: 3.984 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.1344, allocations: 48.73 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1344, allocations: 7.938 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1344, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1344, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1345, allocations: 153.6 kB / 419.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.1346, allocations: 4 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.1346, allocations: 0 / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1346, allocations: 3.938 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1346, allocations: 0 / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1346, allocations: 7.891 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1346, allocations: 4.031 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.966e-05/0.1347, allocations: 61.12 kB / 420 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.1348, allocations: 77.11 kB / 420 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1348, allocations: 4 kB / 420 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.1349, allocations: 3.984 kB / 420 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.135, allocations: 3.953 kB / 420 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.135, allocations: 4 kB / 420 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.135, allocations: 79.31 kB / 420.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.135, allocations: 0 / 420.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.1354, allocations: 40 kB / 420.2 MB, free: 14.09 MB / 362.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.0006773/0.1361, allocations: 0.636 MB / 420.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.1362, allocations: 11.98 kB / 420.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1362, allocations: 0 / 420.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.1363, allocations: 29.7 kB / 420.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.1364, allocations: 7.891 kB / 420.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.137, allocations: 132.3 kB / 421 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1373, allocations: 0.677 MB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1373, allocations: 12.06 kB / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1373, allocations: 7.438 kB / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1373, allocations: 0 / 421.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.161, allocations: 1.63 MB / 423.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003743/0.1615, allocations: 179.6 kB / 423.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/2.647, allocations: 4 kB / 423.5 MB, free: 10.68 MB / 362.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