Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.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.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSuddenExpansion",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.01079/0.01079, allocations: 107 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.001184/0.001183, allocations: 166.8 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.589/1.589, allocations: 170.9 MB / 187.5 MB, free: 1 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.2524/0.2524, allocations: 38.08 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004658, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08804, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.08194/0.17, allocations: 52.35 MB / 424.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3086/0.4787, allocations: 19.03 MB / 443.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.4806, allocations: 38.69 kB / 443.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.4832, allocations: 0.5757 MB / 444.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.502, allocations: 4.824 MB / 449.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.5134, allocations: 2.672 MB / 451.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03275/0.5461, allocations: 12.49 MB / 464.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.5475, allocations: 0.5622 MB / 464.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.5499, allocations: 0.8799 MB / 465.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009872/0.5509, allocations: 0.5992 MB / 466.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.551, allocations: 45.41 kB / 466.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/0.5702, allocations: 7.296 MB / 473.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.5707, allocations: 213.8 kB / 473.9 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.5713, allocations: 288.9 kB / 474.2 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009022/0.5804, allocations: 3.813 MB / 478 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5804, allocations: 0 / 478 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5804, allocations: 0 / 478 MB, free: 2.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.5805, allocations: 0 / 478 MB, free: 2.867 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.007287/0.5878, allocations: 2.092 MB / 480.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5878, allocations: 8.031 kB / 480.1 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.5881, allocations: 152.1 kB / 480.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.5931, allocations: 0.5223 MB / 480.7 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.5954, allocations: 0.9551 MB / 481.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.5955, allocations: 70.25 kB / 481.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.5957, allocations: 99.8 kB / 481.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004873/0.6005, allocations: 1.588 MB / 483.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.6006, allocations: 9.719 kB / 483.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.6008, allocations: 44.27 kB / 483.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.6008, allocations: 28 kB / 483.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00464/0.6055, allocations: 1.357 MB / 484.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.6168, allocations: 7.961 MB / 492.8 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.6211, allocations: 1.643 MB / 494.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3089/0.93, allocations: 81.37 MB / 0.5624 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/0.9302, allocations: 41.19 kB / 0.5624 GB, free: 12.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 4.067e-06/0.9302, allocations: 0 / 0.5624 GB, free: 12.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.007925/0.9381, allocations: 1.829 MB / 0.5642 GB, free: 10.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.9383, allocations: 189.9 kB / 0.5644 GB, free: 10.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.9397, allocations: 0.8261 MB / 0.5652 GB, free: 9.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.9398, allocations: 42.95 kB / 0.5652 GB, free: 9.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.9404, allocations: 0.6106 MB / 0.5658 GB, free: 9.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.9407, allocations: 244.3 kB / 0.566 GB, free: 9.055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.9408, allocations: 23.31 kB / 0.5661 GB, free: 9.051 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9409, allocations: 347.7 kB / 0.5664 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.9417, allocations: 261.9 kB / 0.5667 GB, free: 8.555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.9428, allocations: 0.7751 MB / 0.5674 GB, free: 7.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009613/0.9438, allocations: 403 kB / 0.5678 GB, free: 7.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.9438, allocations: 4 kB / 0.5678 GB, free: 7.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003062/0.9469, allocations: 1.206 MB / 0.569 GB, free: 6.605 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.947, allocations: 12 kB / 0.569 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.947, allocations: 16 kB / 0.569 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005932/0.953, allocations: 0.5368 MB / 0.5695 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.955, allocations: 288.7 kB / 0.5698 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.9567, allocations: 1.374 MB / 0.5711 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.9589, allocations: 161.1 kB / 0.5713 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.9591, allocations: 73.61 kB / 0.5714 GB, free: 4.324 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007135/0.9598, allocations: 287.4 kB / 0.5716 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.9601, allocations: 106.7 kB / 0.5717 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00787/0.968, allocations: 4.396 MB / 0.576 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.483e-05/0.9682, allocations: 47.92 kB / 0.5761 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.9682, allocations: 0 / 0.5761 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/0.9682, allocations: 7.984 kB / 0.5761 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008352/0.9766, allocations: 4.738 MB / 0.5807 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9766, allocations: 0 / 0.5807 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.9781, allocations: 149.8 kB / 0.5809 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00721/0.9853, allocations: 1.607 MB / 0.5824 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.9855, allocations: 20 kB / 0.5824 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.9876, allocations: 1.746 MB / 0.5842 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.9877, allocations: 0 / 0.5842 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.9912, allocations: 1.917 MB / 0.586 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.9919, allocations: 329.9 kB / 0.5863 GB, free: 5.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.9921, allocations: 16 kB / 0.5864 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.9929, allocations: 55.8 kB / 0.5864 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9931, allocations: 52.5 kB / 0.5865 GB, free: 4.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.9931, allocations: 24 kB / 0.5865 GB, free: 4.898 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.9945, allocations: 0.6163 MB / 0.5871 GB, free: 4.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.9945, allocations: 0 / 0.5871 GB, free: 4.277 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004947/0.9995, allocations: 1.265 MB / 0.5883 GB, free: 3.012 MB / 458.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: 24 ($cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.2873/1.287, allocations: 3.684 MB / 0.5919 GB, free: 182.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003585/1.29, allocations: 1.181 MB / 0.5931 GB, free: 182.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.291, allocations: 5.812 kB / 0.5931 GB, free: 182.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002217/1.293, allocations: 0.8495 MB / 0.5939 GB, free: 182.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/1.297, allocations: 0.5428 MB / 0.5944 GB, free: 182.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.317, allocations: 19.69 MB / 0.6137 GB, free: 167.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/1.318, allocations: 1.34 MB / 0.615 GB, free: 166.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00283/1.321, allocations: 0.5938 MB / 0.6155 GB, free: 166.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/1.323, allocations: 0.6298 MB / 0.6162 GB, free: 166 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/1.323, allocations: 0 / 0.6162 GB, free: 166 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/1.486, allocations: 65.82 MB / 0.6804 GB, free: 107.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.486, allocations: 272.7 kB / 0.6807 GB, free: 106.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.263/7.749, allocations: 0 / 0.6807 GB, free: 106.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat