Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",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.01655/0.01655, allocations: 107.9 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.001818/0.001818, allocations: 183.6 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.131/2.131, allocations: 194.5 MB / 211.3 MB, free: 10.97 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.3746/0.3746, allocations: 40.05 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006808/0.125, allocations: 224.5 kB / 416.2 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1275, allocations: 1.33 MB / 417.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1275, allocations: 0 / 417.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.1276, allocations: 0 / 417.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/0.1276, allocations: 0 / 417.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.1284, allocations: 143.6 kB / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.616e-05/0.1285, allocations: 0 / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1285, allocations: 3.984 kB / 417.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.1286, allocations: 7.938 kB / 417.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.1286, allocations: 15.98 kB / 417.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1287, allocations: 0 / 417.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.1292, allocations: 247.7 kB / 418 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1293, allocations: 0 / 418 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1293, allocations: 25.7 kB / 418 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1295, allocations: 87.81 kB / 418.1 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1295, allocations: 3.938 kB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1295, allocations: 0 / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1296, allocations: 0 / 418.1 MB, free: 448 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004346/0.13, allocations: 335.4 kB / 418.4 MB, free: 64 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1301, allocations: 8.031 kB / 418.4 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1301, allocations: 30.56 kB / 418.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1302, allocations: 7.922 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1303, allocations: 163 kB / 418.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.1303, allocations: 4 kB / 418.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1304, allocations: 3.953 kB / 418.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1305, allocations: 37.69 kB / 418.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1305, allocations: 0 / 418.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1306, allocations: 4 kB / 418.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.1306, allocations: 4 kB / 418.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.1306, allocations: 7.938 kB / 418.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1311, allocations: 248.8 kB / 418.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.64e-05/0.1311, allocations: 14.58 kB / 418.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.1311, allocations: 0 / 418.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1312, allocations: 34.62 kB / 419 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.1312, allocations: 4 kB / 419 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.1314, allocations: 37.62 kB / 419 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1314, allocations: 51.41 kB / 419.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.1315, allocations: 97.86 kB / 419.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1316, allocations: 25.7 kB / 419.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1316, allocations: 88.27 kB / 419.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.1316, allocations: 7.984 kB / 419.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.1317, allocations: 256 / 419.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1318, allocations: 318.8 kB / 419.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.1318, allocations: 0 / 419.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.1319, allocations: 18.58 kB / 419.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.1319, allocations: 7.953 kB / 419.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1319, allocations: 0 / 419.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.132, allocations: 53.62 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1321, allocations: 8 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1321, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1321, allocations: 3.938 kB / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.1322, allocations: 4 kB / 419.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1322, allocations: 11.97 kB / 419.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.1322, allocations: 0 / 419.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1323, allocations: 0 / 419.7 MB, free: 14.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.666e-05/0.1324, allocations: 117.8 kB / 419.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1324, allocations: 4.094 kB / 419.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1326, allocations: 56.61 kB / 419.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1326, allocations: 3.938 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1326, allocations: 0 / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1326, allocations: 0 / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.1328, allocations: 149.7 kB / 420 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.1328, allocations: 3.953 kB / 420 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.1328, allocations: 128 / 420 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1329, allocations: 15.91 kB / 420 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1329, allocations: 4 kB / 420 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1329, allocations: 0 / 420 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1329, allocations: 0 / 420 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.133, allocations: 127.6 kB / 420.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1331, allocations: 81.06 kB / 420.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1331, allocations: 0 / 420.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.1332, allocations: 8.016 kB / 420.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1332, allocations: 4 kB / 420.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1333, allocations: 0 / 420.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.128e-05/0.1333, allocations: 75.28 kB / 420.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1333, allocations: 0 / 420.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.1338, allocations: 40 kB / 420.4 MB, free: 13.82 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.0007216/0.1345, allocations: 0.7125 MB / 421.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.729e-05/0.1346, allocations: 15.92 kB / 421.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1346, allocations: 0 / 421.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.1347, allocations: 29.7 kB / 421.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.135, allocations: 0 / 421.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006846/0.1357, allocations: 136.7 kB / 421.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.136, allocations: 0.677 MB / 421.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.1361, allocations: 4 kB / 421.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1362, allocations: 11.38 kB / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1362, allocations: 0 / 422 MB, free: 12.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08677/0.223, allocations: 1.63 MB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.2232, allocations: 179.6 kB / 423.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/2.644, allocations: 0 / 423.8 MB, free: 10.34 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat