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.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.703e-05, allocations: 8 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4565, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.031/8.487, allocations: 2.587 GB / 2.943 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/8.488, allocations: 84.25 kB / 2.944 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/9.694, allocations: 215.5 MB / 3.154 GB, free: 82.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/9.694, allocations: 0 / 3.154 GB, free: 82.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.135e-05/9.694, allocations: 8.781 kB / 3.154 GB, free: 82.19 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005677/9.699, allocations: 1.189 MB / 3.155 GB, free: 81.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/9.699, allocations: 11.47 kB / 3.155 GB, free: 81.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/9.7, allocations: 71.22 kB / 3.155 GB, free: 81.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/9.702, allocations: 221.2 kB / 3.155 GB, free: 81.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/9.703, allocations: 388.2 kB / 3.156 GB, free: 81.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/9.703, allocations: 25.56 kB / 3.156 GB, free: 81.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/9.703, allocations: 35.98 kB / 3.156 GB, free: 81.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/9.705, allocations: 0.5749 MB / 3.156 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/9.705, allocations: 4.312 kB / 3.156 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/9.705, allocations: 15.66 kB / 3.156 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/9.705, allocations: 7.594 kB / 3.156 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/9.707, allocations: 499.1 kB / 3.157 GB, free: 81.2 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.003575/9.71, allocations: 2.533 MB / 3.159 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/9.712, allocations: 413.2 kB / 3.16 GB, free: 79.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/9.713, allocations: 132 kB / 3.16 GB, free: 79.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1806/9.893, allocations: 51.65 MB / 3.21 GB, free: 51.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/9.893, allocations: 41.81 kB / 3.21 GB, free: 51.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/9.893, allocations: 0 / 3.21 GB, free: 51.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002683/9.896, allocations: 0.617 MB / 3.211 GB, free: 50.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/9.896, allocations: 106.6 kB / 3.211 GB, free: 50.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/9.896, allocations: 246.7 kB / 3.211 GB, free: 50.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/9.896, allocations: 33.27 kB / 3.211 GB, free: 50.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/9.897, allocations: 275.7 kB / 3.212 GB, free: 50.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/9.897, allocations: 77.33 kB / 3.212 GB, free: 50.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/9.897, allocations: 7.906 kB / 3.212 GB, free: 50.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/9.897, allocations: 337.6 kB / 3.212 GB, free: 50.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/9.897, allocations: 91.28 kB / 3.212 GB, free: 50.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/9.897, allocations: 210.8 kB / 3.212 GB, free: 50.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/9.898, allocations: 116 kB / 3.212 GB, free: 50.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/9.898, allocations: 0 / 3.212 GB, free: 50.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008041/9.898, allocations: 340.5 kB / 3.213 GB, free: 49.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/9.898, allocations: 7.406 kB / 3.213 GB, free: 49.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/9.899, allocations: 3.906 kB / 3.213 GB, free: 49.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/9.899, allocations: 7.719 kB / 3.213 GB, free: 49.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/9.899, allocations: 109.2 kB / 3.213 GB, free: 49.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/9.899, allocations: 11.42 kB / 3.213 GB, free: 49.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/9.9, allocations: 68.08 kB / 3.213 GB, free: 49.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/9.9, allocations: 25.84 kB / 3.213 GB, free: 49.95 MB / 490.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 () * 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.0001319/9.9, allocations: 126.9 kB / 3.213 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/9.9, allocations: 34.38 kB / 3.213 GB, free: 49.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/9.903, allocations: 1.839 MB / 3.215 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/9.903, allocations: 30.83 kB / 3.215 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/9.903, allocations: 0 / 3.215 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/9.903, allocations: 3.969 kB / 3.215 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/9.904, allocations: 0.9809 MB / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/9.904, allocations: 0 / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/9.905, allocations: 93.19 kB / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/9.905, allocations: 0 / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/9.905, allocations: 9.406 kB / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/9.905, allocations: 3.938 kB / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/9.905, allocations: 2.656 kB / 3.216 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/9.906, allocations: 0.984 MB / 3.217 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/9.907, allocations: 210.6 kB / 3.217 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/9.907, allocations: 6.875 kB / 3.217 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/9.907, allocations: 50.34 kB / 3.217 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/9.907, allocations: 37.62 kB / 3.217 GB, free: 48.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/9.908, allocations: 9.625 kB / 3.217 GB, free: 48.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003822/9.908, allocations: 261.1 kB / 3.218 GB, free: 48.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/9.908, allocations: 0 / 3.218 GB, free: 48.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005057/9.913, allocations: 1.005 MB / 3.219 GB, free: 48.71 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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.0113/9.924, allocations: 2.8 MB / 3.221 GB, free: 47.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/9.925, allocations: 0.5038 MB / 3.222 GB, free: 47.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/9.926, allocations: 0 / 3.222 GB, free: 47.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/9.926, allocations: 473.8 kB / 3.222 GB, free: 47.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/9.928, allocations: 176 kB / 3.222 GB, free: 47.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2437/10.17, allocations: 76.76 MB / 3.297 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/10.17, allocations: 0.9836 MB / 3.298 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/10.17, allocations: 251.3 kB / 3.299 GB, free: 10.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/10.17, allocations: 0 / 3.299 GB, free: 10.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.894/14.07, allocations: 29.07 MB / 3.327 GB, free: 68.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat