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.TestValvesCompressibleReverse.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.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.105e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4304, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.943/8.374, allocations: 2.608 GB / 2.964 GB, free: 114.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/8.374, allocations: 85.58 kB / 2.964 GB, free: 114.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.278/11.65, allocations: 0.5731 GB / 3.537 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/11.65, allocations: 0 / 3.537 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001231/11.65, allocations: 37.25 kB / 3.537 GB, free: 41.29 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01377/11.67, allocations: 2.551 MB / 3.539 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/11.67, allocations: 10.75 kB / 3.539 GB, free: 40.26 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004416/11.67, allocations: 172.2 kB / 3.54 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009445/11.68, allocations: 0.8636 MB / 3.54 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/11.68, allocations: 1.066 MB / 3.542 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/11.68, allocations: 101 kB / 3.542 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/11.68, allocations: 113.2 kB / 3.542 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/11.69, allocations: 2.156 MB / 3.544 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.366e-05/11.69, allocations: 2.625 kB / 3.544 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/11.69, allocations: 53.44 kB / 3.544 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/11.69, allocations: 36.09 kB / 3.544 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/11.69, allocations: 1.97 MB / 3.546 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/11.71, allocations: 8.878 MB / 3.555 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007045/11.72, allocations: 1.734 MB / 3.556 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/11.72, allocations: 0.4953 MB / 3.557 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.175/11.89, allocations: 49.46 MB / 3.605 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/11.89, allocations: 50.2 kB / 3.605 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001409/11.9, allocations: 147.4 kB / 3.605 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 4.018e-06/11.9, allocations: 0 / 3.605 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.01024/11.91, allocations: 2.381 MB / 3.608 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/11.91, allocations: 191.2 kB / 3.608 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/11.91, allocations: 0.7767 MB / 3.608 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002606/11.91, allocations: 50.36 kB / 3.609 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/11.91, allocations: 0.6097 MB / 3.609 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000368/11.91, allocations: 363.8 kB / 3.609 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/11.91, allocations: 34.44 kB / 3.609 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001702/11.91, allocations: 363.4 kB / 3.61 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/11.91, allocations: 445.9 kB / 3.61 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/11.91, allocations: 0.8721 MB / 3.611 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/11.91, allocations: 0.544 MB / 3.612 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/11.91, allocations: 3.969 kB / 3.612 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004191/11.92, allocations: 1.568 MB / 3.613 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002429/11.92, allocations: 4.967 MB / 3.618 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/11.92, allocations: 13.88 kB / 3.618 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/11.93, allocations: 1.084 MB / 3.619 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/11.93, allocations: 438.2 kB / 3.62 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/11.94, allocations: 0.9311 MB / 3.62 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/11.94, allocations: 176 kB / 3.621 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/11.94, allocations: 95.53 kB / 3.621 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/11.94, allocations: 3.781 kB / 3.621 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00408/11.94, allocations: 1.405 MB / 3.622 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/11.94, allocations: 13.91 kB / 3.622 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/11.95, allocations: 88.22 kB / 3.622 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/11.95, allocations: 477.6 kB / 3.623 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/11.95, allocations: 1.752 MB / 3.624 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/11.95, allocations: 164.5 kB / 3.624 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/11.95, allocations: 93.03 kB / 3.625 GB, free: 27.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.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 (163): * Single equations (assignments): 162 * 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 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.000525/11.95, allocations: 191.5 kB / 3.625 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/11.95, allocations: 127.7 kB / 3.625 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/11.97, allocations: 6.425 MB / 3.631 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.252e-05/11.97, allocations: 87.33 kB / 3.631 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/11.97, allocations: 0 / 3.631 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/11.97, allocations: 6.516 kB / 3.631 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/11.97, allocations: 2.888 MB / 3.634 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/11.97, allocations: 0 / 3.634 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/11.97, allocations: 277.3 kB / 3.634 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/11.98, allocations: 2.26 MB / 3.637 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/11.98, allocations: 46 kB / 3.637 GB, free: 26.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/11.98, allocations: 1.587 MB / 3.638 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/11.98, allocations: 3.938 kB / 3.638 GB, free: 25.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/11.99, allocations: 3.413 MB / 3.641 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/11.99, allocations: 0.5986 MB / 3.642 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/11.99, allocations: 30.56 kB / 3.642 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/11.99, allocations: 137.9 kB / 3.642 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/11.99, allocations: 109.9 kB / 3.642 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/11.99, allocations: 46.88 kB / 3.642 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001407/12, allocations: 0.7485 MB / 3.643 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/12, allocations: 4 kB / 3.643 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008794/12, allocations: 1.795 MB / 3.645 GB, free: 24.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01542/12.02, allocations: 5.475 MB / 3.65 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006557/12.03, allocations: 2.75 MB / 3.653 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/12.03, allocations: 0 / 3.653 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/12.03, allocations: 1.509 MB / 3.654 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005904/12.04, allocations: 0.5832 MB / 3.655 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9407/12.98, allocations: 172.9 MB / 3.824 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/12.98, allocations: 1.697 MB / 3.825 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/12.98, allocations: 0.9415 MB / 3.826 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of SimCode: time 3.507e-06/12.98, allocations: 3.781 kB / 3.826 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.617/17.6, allocations: 64.29 MB / 3.889 GB, free: 59.41 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat