Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.587/1.587, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004788, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09024, allocations: 38.78 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/0.8533, allocations: 180.5 MB / 452.6 MB, free: 90.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.8537, allocations: 89.02 kB / 452.7 MB, free: 90.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9344/1.788, allocations: 196.7 MB / 0.6342 GB, free: 73.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.788, allocations: 0 / 0.6342 GB, free: 73.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.213e-05/1.788, allocations: 4 kB / 0.6342 GB, free: 73.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002992/1.791, allocations: 1.008 MB / 0.6351 GB, free: 72.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.791, allocations: 8.031 kB / 0.6352 GB, free: 72.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/1.791, allocations: 62.55 kB / 0.6352 GB, free: 72.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/1.792, allocations: 47.61 kB / 0.6353 GB, free: 72.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/1.792, allocations: 285.6 kB / 0.6355 GB, free: 72.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.792, allocations: 20.56 kB / 0.6355 GB, free: 72.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/1.792, allocations: 31.94 kB / 0.6356 GB, free: 72.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/1.793, allocations: 333.8 kB / 0.6359 GB, free: 71.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/1.793, allocations: 7.938 kB / 0.6359 GB, free: 71.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/1.793, allocations: 12 kB / 0.6359 GB, free: 71.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.793, allocations: 8 kB / 0.6359 GB, free: 71.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/1.794, allocations: 189.5 kB / 0.6361 GB, free: 71.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/1.796, allocations: 2.067 MB / 0.6381 GB, free: 69.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/1.797, allocations: 186.4 kB / 0.6383 GB, free: 69.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/1.797, allocations: 251.3 kB / 0.6385 GB, free: 68.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.797, allocations: 42.52 kB / 0.6386 GB, free: 68.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 3.166e-06/1.797, allocations: 0 / 0.6386 GB, free: 68.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.003671/1.801, allocations: 1.021 MB / 0.6396 GB, free: 67.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/1.801, allocations: 55.41 kB / 0.6396 GB, free: 67.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/1.801, allocations: 233.7 kB / 0.6399 GB, free: 67.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/1.801, allocations: 33.7 kB / 0.6399 GB, free: 67.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/1.801, allocations: 184.2 kB / 0.6401 GB, free: 67.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/1.802, allocations: 104.8 kB / 0.6402 GB, free: 67.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/1.802, allocations: 4 kB / 0.6402 GB, free: 67.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.455e-05/1.802, allocations: 338.8 kB / 0.6405 GB, free: 66.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/1.802, allocations: 88.64 kB / 0.6406 GB, free: 66.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/1.802, allocations: 170.6 kB / 0.6407 GB, free: 66.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/1.802, allocations: 112 kB / 0.6408 GB, free: 66.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.802, allocations: 3.953 kB / 0.6408 GB, free: 66.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008732/1.803, allocations: 373.5 kB / 0.6412 GB, free: 65.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.803, allocations: 11.98 kB / 0.6412 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.803, allocations: 0 / 0.6412 GB, free: 65.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/1.804, allocations: 100.8 kB / 0.6413 GB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/1.805, allocations: 67.91 kB / 0.6414 GB, free: 65.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/1.805, allocations: 0.6499 MB / 0.642 GB, free: 65.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/1.806, allocations: 12.09 kB / 0.642 GB, free: 65.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/1.806, allocations: 34.52 kB / 0.6421 GB, free: 65.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/1.806, allocations: 157.7 kB / 0.6422 GB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/1.806, allocations: 31.62 kB / 0.6422 GB, free: 64.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/1.807, allocations: 364.9 kB / 0.6426 GB, free: 64.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.807, allocations: 11.98 kB / 0.6426 GB, free: 64.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.807, allocations: 0 / 0.6426 GB, free: 64.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008142/1.808, allocations: 0.5668 MB / 0.6431 GB, free: 63.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/1.809, allocations: 0.7374 MB / 0.6439 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.809, allocations: 0 / 0.6439 GB, free: 63.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/1.81, allocations: 39.91 kB / 0.6439 GB, free: 63.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/1.81, allocations: 103.7 kB / 0.644 GB, free: 62.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/1.81, allocations: 7.984 kB / 0.644 GB, free: 62.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005614/1.811, allocations: 0.6421 MB / 0.6446 GB, free: 62.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.811, allocations: 4 kB / 0.6446 GB, free: 62.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.812, allocations: 0.514 MB / 0.6451 GB, free: 61.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.812, allocations: 104.8 kB / 0.6452 GB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/1.812, allocations: 4 kB / 0.6452 GB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/1.813, allocations: 15.98 kB / 0.6453 GB, free: 61.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/1.813, allocations: 11.98 kB / 0.6453 GB, free: 61.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/1.813, allocations: 27.98 kB / 0.6453 GB, free: 61.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002629/1.813, allocations: 194 kB / 0.6455 GB, free: 61.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.813, allocations: 0 / 0.6455 GB, free: 61.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008661/1.814, allocations: 163.9 kB / 0.6456 GB, free: 61.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/1.816, allocations: 1.298 MB / 0.6469 GB, free: 59.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008129/1.817, allocations: 247.4 kB / 0.6471 GB, free: 59.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/1.817, allocations: 0.625 kB / 0.6471 GB, free: 59.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/1.817, allocations: 119.8 kB / 0.6473 GB, free: 59.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.819, allocations: 159.9 kB / 0.6474 GB, free: 59.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/1.823, allocations: 3.333 MB / 0.6507 GB, free: 55.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/1.823, allocations: 0.7728 MB / 0.6514 GB, free: 55.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005332/1.824, allocations: 59.2 kB / 0.6515 GB, free: 55.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.824, allocations: 99.38 kB / 0.6516 GB, free: 54.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/1.824, allocations: 4 kB / 0.6516 GB, free: 54.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05592/1.88, allocations: 10.74 MB / 0.6621 GB, free: 44.22 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/1.88, allocations: 222.6 kB / 0.6623 GB, free: 43.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/4.741, allocations: 0 / 0.6623 GB, free: 43.98 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat