Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.874e-05, allocations: 7.984 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.525, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.085/8.61, allocations: 2.607 GB / 2.963 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/8.61, allocations: 91.27 kB / 2.964 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.412/11.02, allocations: 0.498 GB / 3.462 GB, free: 31.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.895e-06/11.02, allocations: 3.969 kB / 3.462 GB, free: 31.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000104/11.02, allocations: 29.59 kB / 3.462 GB, free: 31.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009482/11.03, allocations: 2.059 MB / 3.464 GB, free: 30.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/11.03, allocations: 13.81 kB / 3.464 GB, free: 30.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004114/11.03, allocations: 144.7 kB / 3.464 GB, free: 30.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008433/11.04, allocations: 0.7153 MB / 3.465 GB, free: 29.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/11.04, allocations: 0.8539 MB / 3.465 GB, free: 29.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/11.04, allocations: 77.97 kB / 3.465 GB, free: 29.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/11.04, allocations: 92.2 kB / 3.466 GB, free: 29.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00587/11.05, allocations: 1.701 MB / 3.467 GB, free: 28.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/11.05, allocations: 3.938 kB / 3.467 GB, free: 28.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/11.05, allocations: 45.94 kB / 3.467 GB, free: 28.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/11.05, allocations: 25.38 kB / 3.467 GB, free: 28.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005558/11.06, allocations: 1.481 MB / 3.469 GB, free: 28.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/11.07, allocations: 7.373 MB / 3.476 GB, free: 22.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/11.07, allocations: 1.117 MB / 3.477 GB, free: 21.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/11.07, allocations: 304.5 kB / 3.477 GB, free: 21.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07064/11.14, allocations: 17.71 MB / 3.495 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/11.14, allocations: 39.12 kB / 3.495 GB, free: 3.605 MB / 490.7 MB Notification: Performance of pre-optimization done (n=67): time 4.559e-06/11.14, allocations: 4 kB / 3.495 GB, free: 3.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=67): time 0.007258/11.15, allocations: 1.719 MB / 3.496 GB, free: 1.875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/11.15, allocations: 214.2 kB / 3.496 GB, free: 1.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/11.15, allocations: 0.5939 MB / 3.497 GB, free: 1.016 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.892e-05/11.15, allocations: 45.64 kB / 3.497 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/11.15, allocations: 0.547 MB / 3.498 GB, free: 428 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/11.15, allocations: 231.4 kB / 3.498 GB, free: 196 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/11.15, allocations: 20 kB / 3.498 GB, free: 176 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/11.15, allocations: 354.8 kB / 3.498 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/11.15, allocations: 254.6 kB / 3.498 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/11.15, allocations: 0.6706 MB / 3.499 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/11.16, allocations: 351.2 kB / 3.499 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/11.16, allocations: 4 kB / 3.499 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002739/11.16, allocations: 0.9598 MB / 3.5 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002452/11.16, allocations: 5.043 MB / 3.505 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.251e-05/11.16, allocations: 20 kB / 3.505 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.213e-05/11.16, allocations: 20 kB / 3.505 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/11.16, allocations: 303.5 kB / 3.506 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-05/11.16, allocations: 23.94 kB / 3.506 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/11.16, allocations: 186.7 kB / 3.506 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/11.17, allocations: 59.98 kB / 3.506 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/11.17, allocations: 8 kB / 3.506 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002463/11.17, allocations: 0.88 MB / 3.507 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/11.17, allocations: 16 kB / 3.507 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/11.17, allocations: 20 kB / 3.507 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/11.17, allocations: 300 kB / 3.507 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.514e-05/11.17, allocations: 23.92 kB / 3.507 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/11.17, allocations: 159.2 kB / 3.507 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/11.17, allocations: 59.98 kB / 3.507 GB, free: 5.891 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003819/11.17, allocations: 180.6 kB / 3.508 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/11.17, allocations: 98.77 kB / 3.508 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008536/11.18, allocations: 4.427 MB / 3.512 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/11.18, allocations: 63.89 kB / 3.512 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/11.18, allocations: 3.938 kB / 3.512 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/11.18, allocations: 7.734 kB / 3.512 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4407/11.62, allocations: 2.165 MB / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/11.62, allocations: 0 / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/11.62, allocations: 219.8 kB / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/11.62, allocations: 8.797 kB / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/11.62, allocations: 18.69 kB / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/11.62, allocations: 4.281 kB / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/11.62, allocations: 0 / 3.514 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/11.63, allocations: 2.057 MB / 3.516 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/11.63, allocations: 448.4 kB / 3.517 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/11.63, allocations: 16.41 kB / 3.517 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/11.63, allocations: 104.7 kB / 3.517 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/11.63, allocations: 68.55 kB / 3.517 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/11.63, allocations: 32.38 kB / 3.517 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001209/11.63, allocations: 0.5582 MB / 3.518 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.91e-07/11.63, allocations: 0 / 3.518 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008817/11.64, allocations: 1.548 MB / 3.519 GB, free: 55.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01558/11.66, allocations: 4.273 MB / 3.523 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00437/11.66, allocations: 1.703 MB / 3.525 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/11.66, allocations: 2.562 kB / 3.525 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/11.66, allocations: 1.027 MB / 3.526 GB, free: 54.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/11.67, allocations: 450 kB / 3.526 GB, free: 54.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3861/12.05, allocations: 125.1 MB / 3.649 GB, free: 31.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/12.05, allocations: 1.423 MB / 3.65 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/12.06, allocations: 0.6696 MB / 3.651 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of SimCode: time 1.393e-06/12.06, allocations: 0 / 3.651 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.085/16.14, allocations: 46.44 MB / 3.696 GB, free: 12.7 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat