Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.01287/0.01288, allocations: 108.5 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.002376/0.002376, allocations: 181.3 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.068/2.068, allocations: 194.5 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.2669/0.2669, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006313/0.0006315, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1217, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008235/0.1225, allocations: 276.3 kB / 416.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002554/0.1228, allocations: 65.42 kB / 416.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1229, allocations: 4 kB / 416.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-06/0.1229, allocations: 3.938 kB / 416.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1231, allocations: 11.97 kB / 416.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.732e-05/0.1231, allocations: 0 / 416.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.072e-05/0.1232, allocations: 8 kB / 416.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1232, allocations: 0 / 416.4 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.1233, allocations: 7.922 kB / 416.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.1233, allocations: 4 kB / 416.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1233, allocations: 0 / 416.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.1234, allocations: 23.91 kB / 416.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.1235, allocations: 4 kB / 416.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1235, allocations: 29.7 kB / 416.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.532e-05/0.1236, allocations: 7.984 kB / 416.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1236, allocations: 0 / 416.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1236, allocations: 0 / 416.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1236, allocations: 0 / 416.5 MB, free: 2.109 MB / 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.0003433/0.1239, allocations: 319.4 kB / 416.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.124, allocations: 8.031 kB / 416.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.124, allocations: 30.56 kB / 416.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.1241, allocations: 4 kB / 416.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1242, allocations: 167 kB / 417 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1242, allocations: 3.984 kB / 417 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1243, allocations: 0 / 417 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1244, allocations: 37.66 kB / 417 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1244, allocations: 7.906 kB / 417 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1244, allocations: 0 / 417 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1244, allocations: 0 / 417 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.1245, allocations: 11.97 kB / 417 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1247, allocations: 153.9 kB / 417.2 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1249, allocations: 42.55 kB / 417.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.1255, allocations: 129.1 kB / 417.3 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1255, allocations: 30.56 kB / 417.4 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.1255, allocations: 0 / 417.4 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.002156/0.1277, allocations: 213.4 kB / 417.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1278, allocations: 59.41 kB / 417.6 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.1279, allocations: 89.86 kB / 417.7 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1279, allocations: 25.7 kB / 417.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.128, allocations: 84.14 kB / 417.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.128, allocations: 19.7 kB / 417.9 MB, free: 488 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.128, allocations: 0 / 417.9 MB, free: 488 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1282, allocations: 314.8 kB / 418.2 MB, free: 164 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1283, allocations: 24.11 kB / 418.2 MB, free: 140 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1285, allocations: 23.97 kB / 418.2 MB, free: 116 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1286, allocations: 27.88 kB / 418.2 MB, free: 88 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1286, allocations: 3.984 kB / 418.2 MB, free: 84 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003948/0.1291, allocations: 85.84 kB / 418.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1291, allocations: 8 kB / 418.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1291, allocations: 4.062 kB / 418.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1291, allocations: 3.953 kB / 418.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1294, allocations: 15.94 kB / 418.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1294, allocations: 0 / 418.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1295, allocations: 15.98 kB / 418.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1296, allocations: 4 kB / 418.4 MB, free: 15.94 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 (5): * Single equations (assignments): 5 * 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.514e-05/0.1297, allocations: 105.8 kB / 418.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1297, allocations: 4 kB / 418.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.1301, allocations: 101.1 kB / 418.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1302, allocations: 3.953 kB / 418.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1302, allocations: 0 / 418.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1302, allocations: 0 / 418.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.1313, allocations: 375.3 kB / 419 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1314, allocations: 0 / 419 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1316, allocations: 19.98 kB / 419 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1316, allocations: 3.953 kB / 419 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1316, allocations: 4.031 kB / 419 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1316, allocations: 0 / 419 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1316, allocations: 0 / 419 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.1321, allocations: 205.9 kB / 419.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1321, allocations: 81.06 kB / 419.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1321, allocations: 0 / 419.3 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1323, allocations: 11.98 kB / 419.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1324, allocations: 0 / 419.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1324, allocations: 8.125 kB / 419.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.31e-05/0.1324, allocations: 79.27 kB / 419.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1324, allocations: 4.094 kB / 419.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.1328, allocations: 8 kB / 419.4 MB, free: 14.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0007969/0.1336, allocations: 0.8071 MB / 420.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.134, allocations: 55.95 kB / 420.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.134, allocations: 3.938 kB / 420.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1341, allocations: 35.92 kB / 420.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1343, allocations: 0 / 420.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.1352, allocations: 177.6 kB / 420.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1355, allocations: 0.6809 MB / 421.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.052e-05/0.1356, allocations: 4 kB / 421.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.1357, allocations: 11.44 kB / 421.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1357, allocations: 0 / 421.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1562, allocations: 1.243 MB / 422.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.1565, allocations: 187.5 kB / 422.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/2.739, allocations: 3.938 kB / 422.6 MB, free: 11.52 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat