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.TestCheckValve.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.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.301e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4211, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.08/8.501, allocations: 2.606 GB / 2.962 GB, free: 112.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/8.502, allocations: 82.14 kB / 2.962 GB, free: 112.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253/9.755, allocations: 232.6 MB / 3.19 GB, free: 73.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.594e-06/9.755, allocations: 0 / 3.19 GB, free: 73.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.69e-05/9.755, allocations: 12.38 kB / 3.19 GB, free: 73.34 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006181/9.761, allocations: 1.265 MB / 3.191 GB, free: 72.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/9.761, allocations: 11.5 kB / 3.191 GB, free: 72.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/9.761, allocations: 70.64 kB / 3.191 GB, free: 72.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/9.764, allocations: 250.3 kB / 3.191 GB, free: 72.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/9.765, allocations: 426.7 kB / 3.192 GB, free: 72.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/9.765, allocations: 27.12 kB / 3.192 GB, free: 72.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/9.766, allocations: 36.88 kB / 3.192 GB, free: 72.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/9.768, allocations: 0.5978 MB / 3.192 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/9.768, allocations: 0 / 3.192 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/9.768, allocations: 15.25 kB / 3.192 GB, free: 71.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/9.768, allocations: 9.844 kB / 3.192 GB, free: 71.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/9.77, allocations: 0.5193 MB / 3.193 GB, free: 71.7 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00462/9.774, allocations: 2.551 MB / 3.195 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/9.776, allocations: 415.5 kB / 3.196 GB, free: 69.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/9.777, allocations: 141 kB / 3.196 GB, free: 69.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1844/9.961, allocations: 51.65 MB / 3.246 GB, free: 39.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/9.961, allocations: 34.53 kB / 3.246 GB, free: 39.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/9.961, allocations: 0 / 3.246 GB, free: 39.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.003044/9.964, allocations: 0.646 MB / 3.247 GB, free: 39.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/9.964, allocations: 106.6 kB / 3.247 GB, free: 39.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005034/9.965, allocations: 301.6 kB / 3.247 GB, free: 39.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/9.965, allocations: 33.64 kB / 3.247 GB, free: 39.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/9.965, allocations: 279.9 kB / 3.248 GB, free: 38.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/9.965, allocations: 92.33 kB / 3.248 GB, free: 38.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/9.965, allocations: 7.594 kB / 3.248 GB, free: 38.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/9.965, allocations: 325.9 kB / 3.248 GB, free: 38.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/9.966, allocations: 99.92 kB / 3.248 GB, free: 38.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/9.966, allocations: 237.8 kB / 3.248 GB, free: 38.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/9.966, allocations: 136.4 kB / 3.248 GB, free: 38.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/9.966, allocations: 7.938 kB / 3.248 GB, free: 38.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/9.967, allocations: 377.8 kB / 3.249 GB, free: 37.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003444/9.968, allocations: 1.488 MB / 3.25 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/9.968, allocations: 7.75 kB / 3.25 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/9.968, allocations: 3.656 kB / 3.25 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/9.969, allocations: 115.4 kB / 3.25 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/9.969, allocations: 15.81 kB / 3.25 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/9.97, allocations: 65.22 kB / 3.25 GB, free: 36.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/9.97, allocations: 30.3 kB / 3.25 GB, free: 36.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/9.97, allocations: 3.906 kB / 3.25 GB, free: 36.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009418/9.971, allocations: 333.7 kB / 3.251 GB, free: 36.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/9.971, allocations: 4.438 kB / 3.251 GB, free: 36.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/9.971, allocations: 11.34 kB / 3.251 GB, free: 36.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/9.972, allocations: 116 kB / 3.251 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/9.972, allocations: 11.7 kB / 3.251 GB, free: 36.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/9.972, allocations: 65.31 kB / 3.251 GB, free: 36.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/9.972, allocations: 22.73 kB / 3.251 GB, free: 36.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001924/9.973, allocations: 128.7 kB / 3.251 GB, free: 36.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/9.973, allocations: 38.34 kB / 3.251 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/9.976, allocations: 1.911 MB / 3.253 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-05/9.976, allocations: 34.09 kB / 3.253 GB, free: 35.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/9.976, allocations: 3.953 kB / 3.253 GB, free: 35.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/9.976, allocations: 0 / 3.253 GB, free: 35.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/9.977, allocations: 1.019 MB / 3.254 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/9.977, allocations: 0 / 3.254 GB, free: 34.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/9.978, allocations: 88.41 kB / 3.254 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/9.978, allocations: 0 / 3.254 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/9.978, allocations: 15.09 kB / 3.254 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/9.978, allocations: 3.969 kB / 3.254 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/9.978, allocations: 0 / 3.254 GB, free: 34.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/9.98, allocations: 1.021 MB / 3.255 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/9.98, allocations: 251.6 kB / 3.255 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/9.981, allocations: 7.812 kB / 3.255 GB, free: 33.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/9.981, allocations: 46.78 kB / 3.255 GB, free: 33.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/9.981, allocations: 36 kB / 3.255 GB, free: 33.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/9.981, allocations: 14.73 kB / 3.255 GB, free: 33.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005022/9.982, allocations: 302.2 kB / 3.256 GB, free: 33.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/9.982, allocations: 0 / 3.256 GB, free: 33.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005944/9.988, allocations: 1.184 MB / 3.257 GB, free: 33.28 MB / 490.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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * 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.01237/10, allocations: 2.95 MB / 3.26 GB, free: 31.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/10, allocations: 0.7262 MB / 3.261 GB, free: 31.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/10, allocations: 0 / 3.261 GB, free: 31.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000737/10, allocations: 495.5 kB / 3.261 GB, free: 31.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/10, allocations: 199.8 kB / 3.261 GB, free: 31.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6056/10.61, allocations: 76.84 MB / 3.336 GB, free: 70.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/10.61, allocations: 0.9998 MB / 3.337 GB, free: 69.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/10.61, allocations: 276.8 kB / 3.337 GB, free: 69.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/10.61, allocations: 0 / 3.337 GB, free: 69.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.76/14.37, allocations: 30.77 MB / 3.368 GB, free: 66.95 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat