Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.01147/0.01147, allocations: 106 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.1.mo): time 0.001212/0.001212, allocations: 166.4 kB / 15.93 MB, free: 5.527 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.648/1.648, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.3079/0.3079, allocations: 38.09 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006409, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1014, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001598/0.103, allocations: 292.4 kB / 372.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.1038, allocations: 121.2 kB / 372.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.1039, allocations: 0 / 372.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.104, allocations: 0 / 372.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.1044, allocations: 27.84 kB / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.299e-06/0.1045, allocations: 4 kB / 372.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.1046, allocations: 19.92 kB / 372.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.1047, allocations: 3.984 kB / 372.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.1047, allocations: 7.984 kB / 372.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.1049, allocations: 15.92 kB / 372.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1049, allocations: 0 / 372.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.1052, allocations: 43.95 kB / 372.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1053, allocations: 7.969 kB / 372.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1053, allocations: 29.64 kB / 372.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1056, allocations: 27.97 kB / 372.9 MB, free: 12.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1056, allocations: 4 kB / 372.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1056, allocations: 0 / 372.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1057, allocations: 0 / 372.9 MB, free: 12.24 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006545/0.1063, allocations: 331.6 kB / 373.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.002e-05/0.1065, allocations: 8.031 kB / 373.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.004e-05/0.1066, allocations: 38.5 kB / 373.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.1067, allocations: 7.906 kB / 373.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.107, allocations: 167 kB / 373.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.107, allocations: 4 kB / 373.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.1071, allocations: 11.94 kB / 373.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1074, allocations: 49.69 kB / 373.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1075, allocations: 0 / 373.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1075, allocations: 4 kB / 373.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1076, allocations: 4 kB / 373.5 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.1079, allocations: 51.95 kB / 373.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1085, allocations: 173.6 kB / 373.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.1089, allocations: 82.5 kB / 373.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.1096, allocations: 259.2 kB / 374 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1096, allocations: 30.56 kB / 374.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 3.537e-06/0.1096, allocations: 0 / 374.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004872/0.1101, allocations: 101.9 kB / 374.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.1102, allocations: 55.41 kB / 374.2 MB, free: 10.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1104, allocations: 93.86 kB / 374.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1104, allocations: 29.83 kB / 374.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.1105, allocations: 80.14 kB / 374.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1107, allocations: 35.45 kB / 374.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.1107, allocations: 0 / 374.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.111, allocations: 322.8 kB / 374.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1111, allocations: 15.94 kB / 374.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1112, allocations: 19.98 kB / 374.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1113, allocations: 16 kB / 374.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1114, allocations: 0 / 374.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003602/0.1117, allocations: 93.58 kB / 374.9 MB, free: 9.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1118, allocations: 4.656 kB / 374.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1118, allocations: 0 / 374.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1118, allocations: 0 / 374.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1121, allocations: 23.98 kB / 375 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1121, allocations: 0 / 375 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.1122, allocations: 7.844 kB / 375 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1122, allocations: 4 kB / 375 MB, free: 9.883 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 (10): * Single equations (assignments): 10 * 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.0001388/0.1124, allocations: 114.8 kB / 375.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.1124, allocations: 15.89 kB / 375.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.1129, allocations: 105.6 kB / 375.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1129, allocations: 0 / 375.2 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1129, allocations: 4 kB / 375.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1129, allocations: 0 / 375.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1132, allocations: 169.6 kB / 375.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1132, allocations: 3.938 kB / 375.4 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1135, allocations: 19.98 kB / 375.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.1135, allocations: 3.953 kB / 375.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1135, allocations: 0 / 375.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1135, allocations: 4 kB / 375.4 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1135, allocations: 0 / 375.4 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1138, allocations: 113 kB / 375.5 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1139, allocations: 88.95 kB / 375.6 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.1139, allocations: 3.953 kB / 375.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.1139, allocations: 3.984 kB / 375.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.114, allocations: 11.98 kB / 375.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.114, allocations: 0 / 375.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.651e-05/0.1141, allocations: 83.28 kB / 375.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1141, allocations: 0 / 375.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.1144, allocations: 20 kB / 375.7 MB, free: 9.031 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0005806/0.115, allocations: 0.653 MB / 376.4 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1152, allocations: 56.02 kB / 376.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1152, allocations: 0 / 376.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.1153, allocations: 31.92 kB / 376.5 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1154, allocations: 8.812 kB / 376.5 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.116, allocations: 180.3 kB / 376.6 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1163, allocations: 0.6888 MB / 377.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.1164, allocations: 4 kB / 377.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.1165, allocations: 19.42 kB / 377.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1165, allocations: 0 / 377.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1406, allocations: 1.322 MB / 378.7 MB, free: 6.066 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003884/0.141, allocations: 188 kB / 378.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.544, allocations: 0 / 378.9 MB, free: 5.828 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat