Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3623, allocations: 48.7 MB / 331.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.932/7.295, allocations: 2.477 GB / 2.8 GB, free: 46.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/7.295, allocations: 87.81 kB / 2.8 GB, free: 46.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.147/8.442, allocations: 212.3 MB / 3.008 GB, free: 19.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.916e-06/8.442, allocations: 0 / 3.008 GB, free: 19.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.013e-05/8.443, allocations: 11.94 kB / 3.008 GB, free: 19.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005628/8.448, allocations: 1.205 MB / 3.009 GB, free: 18.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/8.448, allocations: 8.031 kB / 3.009 GB, free: 18.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/8.448, allocations: 70.53 kB / 3.009 GB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/8.451, allocations: 211.6 kB / 3.009 GB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/8.453, allocations: 382.7 kB / 3.01 GB, free: 17.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/8.453, allocations: 24.66 kB / 3.01 GB, free: 17.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/8.453, allocations: 28 kB / 3.01 GB, free: 17.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/8.455, allocations: 0.6182 MB / 3.01 GB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/8.455, allocations: 0 / 3.01 GB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/8.455, allocations: 12 kB / 3.01 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/8.455, allocations: 8 kB / 3.01 GB, free: 17.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/8.46, allocations: 0.5758 MB / 3.011 GB, free: 16.53 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/8.465, allocations: 2.548 MB / 3.013 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004196/8.469, allocations: 470.2 kB / 3.014 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4845/8.953, allocations: 51.29 MB / 3.064 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/8.954, allocations: 35.47 kB / 3.064 GB, free: 47.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.516e-06/8.954, allocations: 3.656 kB / 3.064 GB, free: 47.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.004186/8.958, allocations: 0.8269 MB / 3.065 GB, free: 47.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/8.958, allocations: 109.9 kB / 3.065 GB, free: 47.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/8.958, allocations: 250.4 kB / 3.065 GB, free: 47.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/8.958, allocations: 29.14 kB / 3.065 GB, free: 47.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/8.958, allocations: 274.4 kB / 3.065 GB, free: 47.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/8.958, allocations: 93.36 kB / 3.065 GB, free: 47.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/8.959, allocations: 6.875 kB / 3.065 GB, free: 47.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/8.959, allocations: 320.8 kB / 3.066 GB, free: 46.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006796/8.959, allocations: 155.2 kB / 3.066 GB, free: 46.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/8.96, allocations: 280.2 kB / 3.066 GB, free: 46.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/8.961, allocations: 180.3 kB / 3.066 GB, free: 46.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/8.961, allocations: 0 / 3.066 GB, free: 46.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001694/8.963, allocations: 466.5 kB / 3.067 GB, free: 46.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/8.963, allocations: 8.688 kB / 3.067 GB, free: 46.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/8.963, allocations: 6.062 kB / 3.067 GB, free: 46.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/8.963, allocations: 10.52 kB / 3.067 GB, free: 46.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/8.963, allocations: 110 kB / 3.067 GB, free: 46.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/8.963, allocations: 7.906 kB / 3.067 GB, free: 46.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/8.964, allocations: 73.56 kB / 3.067 GB, free: 46.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/8.964, allocations: 18.62 kB / 3.067 GB, free: 46.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002616/8.964, allocations: 162.8 kB / 3.067 GB, free: 46.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/8.964, allocations: 33.72 kB / 3.067 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/8.968, allocations: 1.927 MB / 3.069 GB, free: 46.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/8.968, allocations: 41.59 kB / 3.069 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/8.968, allocations: 0 / 3.069 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/8.968, allocations: 0 / 3.069 GB, free: 46.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/8.969, allocations: 0.9799 MB / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.969, allocations: 0 / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/8.97, allocations: 93.16 kB / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/8.97, allocations: 0 / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/8.97, allocations: 6.844 kB / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/8.97, allocations: 0 / 3.07 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/8.97, allocations: 8.766 kB / 3.07 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/8.972, allocations: 1.111 MB / 3.071 GB, free: 45.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/8.973, allocations: 207.1 kB / 3.071 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/8.973, allocations: 3.875 kB / 3.071 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/8.973, allocations: 54.81 kB / 3.071 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/8.974, allocations: 30.36 kB / 3.072 GB, free: 45.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/8.974, allocations: 19.06 kB / 3.072 GB, free: 45.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004006/8.974, allocations: 262.4 kB / 3.072 GB, free: 45.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/8.974, allocations: 0 / 3.072 GB, free: 45.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005203/8.979, allocations: 1.002 MB / 3.073 GB, free: 45.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01205/8.991, allocations: 2.925 MB / 3.076 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002165/8.994, allocations: 0.6189 MB / 3.076 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/8.994, allocations: 0 / 3.076 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/8.995, allocations: 0.5213 MB / 3.077 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/8.998, allocations: 185.9 kB / 3.077 GB, free: 44.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2379/9.236, allocations: 79.87 MB / 3.155 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/9.236, allocations: 0.9792 MB / 3.156 GB, free: 26.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/9.237, allocations: 261.9 kB / 3.156 GB, free: 26.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/9.237, allocations: 0 / 3.156 GB, free: 26.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.588/12.82, allocations: 28.31 MB / 3.184 GB, free: 6.559 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat