Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.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.TestComponents.Fittings.TestSuddenExpansion,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01085/0.01086, allocations: 109.6 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.001217/0.001217, allocations: 177.2 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 1.971/1.971, allocations: 194.6 MB / 211.3 MB, free: 11.16 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.2648/0.2648, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006372, allocations: 12 kB / 361.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1178, allocations: 54.86 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.3995/0.5174, allocations: 52.76 MB / 468.8 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04406/0.5615, allocations: 19.24 MB / 488 MB, free: 24.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.5637, allocations: 38.66 kB / 488.1 MB, free: 24.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.5669, allocations: 0.5808 MB / 488.6 MB, free: 23.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04478/0.6117, allocations: 4.868 MB / 493.5 MB, free: 21.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.6269, allocations: 2.729 MB / 496.2 MB, free: 19.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05015/0.6771, allocations: 12.65 MB / 0.497 GB, free: 17.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.6792, allocations: 0.5671 MB / 0.4975 GB, free: 17.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003811/0.683, allocations: 0.8866 MB / 0.4984 GB, free: 17.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.685, allocations: 0.6148 MB / 0.499 GB, free: 16.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.6853, allocations: 45.16 kB / 0.499 GB, free: 16.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03015/0.7155, allocations: 7.42 MB / 0.5063 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007108/0.7163, allocations: 216.5 kB / 0.5065 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.7172, allocations: 287.6 kB / 0.5068 GB, free: 15.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.7319, allocations: 3.857 MB / 0.5105 GB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7319, allocations: 0 / 0.5105 GB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7319, allocations: 0 / 0.5105 GB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.732, allocations: 4 kB / 0.5105 GB, free: 12.97 MB / 378.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.00797/0.74, allocations: 2.173 MB / 0.5126 GB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.74, allocations: 8.031 kB / 0.5127 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.7403, allocations: 156.2 kB / 0.5128 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.7454, allocations: 0.5571 MB / 0.5133 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.7473, allocations: 0.9578 MB / 0.5143 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.7474, allocations: 74 kB / 0.5144 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.7476, allocations: 88 kB / 0.5144 GB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/0.7519, allocations: 1.594 MB / 0.516 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.7519, allocations: 3.938 kB / 0.516 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.7521, allocations: 48 kB / 0.516 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.7521, allocations: 24 kB / 0.5161 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.7564, allocations: 1.365 MB / 0.5174 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.7664, allocations: 7.964 MB / 0.5252 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.7708, allocations: 1.635 MB / 0.5268 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3222/1.093, allocations: 81.45 MB / 0.6063 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/1.093, allocations: 43 kB / 0.6064 GB, free: 1.375 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 3.617e-06/1.093, allocations: 0 / 0.6064 GB, free: 1.375 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.008236/1.101, allocations: 1.822 MB / 0.6081 GB, free: 15.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.102, allocations: 192.4 kB / 0.6083 GB, free: 15.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/1.103, allocations: 0.8255 MB / 0.6091 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/1.103, allocations: 41.7 kB / 0.6092 GB, free: 14.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000672/1.104, allocations: 0.6147 MB / 0.6098 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/1.104, allocations: 248.4 kB / 0.61 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/1.104, allocations: 28 kB / 0.61 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/1.105, allocations: 345.9 kB / 0.6104 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/1.105, allocations: 258.5 kB / 0.6106 GB, free: 12.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/1.107, allocations: 0.7796 MB / 0.6114 GB, free: 11.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/1.108, allocations: 388.5 kB / 0.6117 GB, free: 11.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.108, allocations: 4 kB / 0.6117 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003345/1.111, allocations: 1.211 MB / 0.6129 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.111, allocations: 15.95 kB / 0.6129 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/1.111, allocations: 20 kB / 0.613 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005987/1.117, allocations: 0.5326 MB / 0.6135 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.119, allocations: 283.5 kB / 0.6137 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.121, allocations: 1.374 MB / 0.6151 GB, free: 8.008 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.122, allocations: 150.7 kB / 0.6152 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.123, allocations: 71.98 kB / 0.6153 GB, free: 7.789 MB / 490.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.0007066/1.123, allocations: 303.9 kB / 0.6156 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.124, allocations: 114.7 kB / 0.6157 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007969/1.132, allocations: 4.382 MB / 0.62 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/1.132, allocations: 47.94 kB / 0.62 GB, free: 2.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.132, allocations: 7.938 kB / 0.62 GB, free: 2.926 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.132, allocations: 3.984 kB / 0.62 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3339/1.466, allocations: 4.729 MB / 0.6247 GB, free: 163.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.466, allocations: 3.094 kB / 0.6247 GB, free: 163.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.467, allocations: 150.9 kB / 0.6248 GB, free: 163.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00666/1.474, allocations: 1.6 MB / 0.6264 GB, free: 163.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/1.474, allocations: 25.08 kB / 0.6264 GB, free: 163.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/1.476, allocations: 1.743 MB / 0.6281 GB, free: 162.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.476, allocations: 7.234 kB / 0.6281 GB, free: 162.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/1.479, allocations: 1.916 MB / 0.63 GB, free: 161.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/1.48, allocations: 324.4 kB / 0.6303 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/1.48, allocations: 12.72 kB / 0.6303 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000837/1.481, allocations: 57.55 kB / 0.6303 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/1.481, allocations: 48.12 kB / 0.6304 GB, free: 161.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/1.481, allocations: 24.38 kB / 0.6304 GB, free: 161.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001221/1.482, allocations: 0.6208 MB / 0.631 GB, free: 161.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.613e-06/1.482, allocations: 1.75 kB / 0.631 GB, free: 161.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004942/1.487, allocations: 1.275 MB / 0.6323 GB, free: 161.5 MB / 490.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.01123/1.498, allocations: 3.698 MB / 0.6359 GB, free: 160 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003533/1.502, allocations: 1.174 MB / 0.637 GB, free: 159.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.502, allocations: 0 / 0.637 GB, free: 159.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/1.504, allocations: 0.8545 MB / 0.6379 GB, free: 159.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.509, allocations: 0.5404 MB / 0.6384 GB, free: 159.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/1.529, allocations: 19.68 MB / 0.6576 GB, free: 143 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009056/1.53, allocations: 1.346 MB / 0.6589 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00202/1.532, allocations: 0.5776 MB / 0.6595 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.533, allocations: 0.631 MB / 0.6601 GB, free: 141.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/1.533, allocations: 1.594 kB / 0.6601 GB, free: 141.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1584/1.692, allocations: 66.11 MB / 0.7247 GB, free: 95.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.692, allocations: 268.8 kB / 0.7249 GB, free: 95.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/8.312, allocations: 7.938 kB / 0.7249 GB, free: 95.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion_res.mat does not exist to compare? outputFormat=mat