Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.0159/0.01591, allocations: 104.9 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001772/0.001772, allocations: 173.6 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.739/1.739, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3215/0.3215, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007472/0.0007478, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1153, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0008293/0.1162, allocations: 224.5 kB / 372.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.1193, allocations: 1.306 MB / 373.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.1193, allocations: 0 / 373.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1194, allocations: 3.938 kB / 373.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.1194, allocations: 4 kB / 373.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1204, allocations: 151.6 kB / 374 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.1205, allocations: 3.984 kB / 374 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.1206, allocations: 4 kB / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.1206, allocations: 0 / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.1207, allocations: 11.98 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1207, allocations: 3.938 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.1215, allocations: 247.7 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1216, allocations: 3.938 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1216, allocations: 29.7 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1219, allocations: 83.81 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1219, allocations: 4 kB / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1219, allocations: 0 / 374.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1219, allocations: 4 kB / 374.4 MB, free: 10.77 MB / 282.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.0005212/0.1225, allocations: 331.4 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.1225, allocations: 8.031 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.1226, allocations: 30.56 kB / 374.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1226, allocations: 0 / 374.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1228, allocations: 167 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1229, allocations: 0 / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1229, allocations: 4 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.123, allocations: 33.69 kB / 374.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1231, allocations: 0 / 374.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1231, allocations: 0 / 374.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1231, allocations: 3.938 kB / 374.9 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.1232, allocations: 4 kB / 374.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1234, allocations: 153.6 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/0.1235, allocations: 18.61 kB / 375.1 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1235, allocations: 4 kB / 375.1 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1236, allocations: 30.56 kB / 375.1 MB, free: 9.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.1236, allocations: 0 / 375.1 MB, free: 9.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.1238, allocations: 41.7 kB / 375.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1238, allocations: 51.41 kB / 375.2 MB, free: 9.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.124, allocations: 97.84 kB / 375.3 MB, free: 9.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.124, allocations: 25.95 kB / 375.3 MB, free: 9.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1241, allocations: 84.14 kB / 375.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1241, allocations: 4.188 kB / 375.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1241, allocations: 0 / 375.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1243, allocations: 318.8 kB / 375.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.1243, allocations: 4 kB / 375.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.1244, allocations: 0 / 375.7 MB, free: 9.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.1244, allocations: 3.953 kB / 375.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1244, allocations: 0 / 375.7 MB, free: 9.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.1246, allocations: 49.62 kB / 375.8 MB, free: 9.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1246, allocations: 4 kB / 375.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1246, allocations: 0 / 375.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1247, allocations: 4 kB / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.1248, allocations: 0 / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1248, allocations: 0 / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.1248, allocations: 0 / 375.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1249, allocations: 4 kB / 375.8 MB, free: 9.094 MB / 282.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 0.0001208/0.125, allocations: 118.8 kB / 375.9 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.125, allocations: 4.031 kB / 375.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.1252, allocations: 40.81 kB / 376 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1253, allocations: 3.938 kB / 376 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1253, allocations: 4 kB / 376 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1253, allocations: 4 kB / 376 MB, free: 8.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.1255, allocations: 149.7 kB / 376.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.1255, allocations: 3.953 kB / 376.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-06/0.1255, allocations: 8.016 kB / 376.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1255, allocations: 4 kB / 376.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1256, allocations: 0 / 376.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1256, allocations: 0 / 376.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1256, allocations: 0 / 376.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.1257, allocations: 57.12 kB / 376.2 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1258, allocations: 85.06 kB / 376.3 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1259, allocations: 0 / 376.3 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.126, allocations: 8.031 kB / 376.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.126, allocations: 0 / 376.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.126, allocations: 0 / 376.3 MB, free: 8.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.823e-05/0.1261, allocations: 83.27 kB / 376.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1261, allocations: 0 / 376.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005952/0.1267, allocations: 40 kB / 376.4 MB, free: 8.391 MB / 282.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.0009389/0.1277, allocations: 0.6476 MB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.1278, allocations: 4 kB / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1278, allocations: 0 / 377.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.1279, allocations: 33.69 kB / 377.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1281, allocations: 3.938 kB / 377.1 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1287, allocations: 126.9 kB / 377.2 MB, free: 7.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1291, allocations: 0.6731 MB / 377.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.564e-05/0.1292, allocations: 11.92 kB / 377.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1292, allocations: 11.44 kB / 377.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1292, allocations: 0 / 377.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04905/0.1783, allocations: 1.635 MB / 379.6 MB, free: 5.227 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.1786, allocations: 176.2 kB / 379.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/2.71, allocations: 0 / 379.7 MB, free: 4.992 MB / 282.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