Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01139/0.01139, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001798/0.001798, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.038/2.038, allocations: 194.6 MB / 211.3 MB, free: 11.23 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2642/0.2642, allocations: 40.04 MB / 296.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.000518, allocations: 12 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.04074/0.1569, allocations: 24.09 MB / 440.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3361/0.493, allocations: 14.73 MB / 454.9 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.494, allocations: 19.06 kB / 454.9 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.4954, allocations: 265.1 kB / 455.1 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.5073, allocations: 2.952 MB / 458.1 MB, free: 32.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.5197, allocations: 2.998 MB / 461.1 MB, free: 32.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.5211, allocations: 0.6047 MB / 461.7 MB, free: 32.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.5216, allocations: 234.4 kB / 461.9 MB, free: 32.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.5229, allocations: 434.9 kB / 462.3 MB, free: 32.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.5233, allocations: 220.3 kB / 462.6 MB, free: 32.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.5233, allocations: 19.48 kB / 462.6 MB, free: 32.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.5418, allocations: 7.149 MB / 469.7 MB, free: 32.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5421, allocations: 85.62 kB / 469.8 MB, free: 32.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.5425, allocations: 123.8 kB / 469.9 MB, free: 31.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00817/0.5506, allocations: 3.062 MB / 473 MB, free: 31.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5507, allocations: 3.562 kB / 473 MB, free: 31.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5507, allocations: 0 / 473 MB, free: 31.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.5507, allocations: 0 / 473 MB, free: 31.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004678/0.5554, allocations: 1.237 MB / 474.2 MB, free: 31.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5555, allocations: 9.062 kB / 474.2 MB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.5557, allocations: 70.36 kB / 474.3 MB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.5583, allocations: 236.2 kB / 474.5 MB, free: 31.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.5592, allocations: 394.4 kB / 474.9 MB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.5593, allocations: 29.28 kB / 475 MB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.5593, allocations: 33.33 kB / 475 MB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5618, allocations: 0.6317 MB / 475.6 MB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.5619, allocations: 0.75 kB / 475.6 MB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.065e-05/0.5619, allocations: 19.16 kB / 475.6 MB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.562, allocations: 8.047 kB / 475.6 MB, free: 30.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.5645, allocations: 0.589 MB / 476.2 MB, free: 30.68 MB / 378.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.004231/0.5688, allocations: 2.7 MB / 478.9 MB, free: 28.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.5717, allocations: 0.5602 MB / 479.5 MB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2069/0.7786, allocations: 55.46 MB / 0.5224 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.7787, allocations: 44.66 kB / 0.5225 GB, free: 18.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.7787, allocations: 1.75 kB / 0.5225 GB, free: 18.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003942/0.7827, allocations: 0.8234 MB / 0.5233 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.7828, allocations: 106.8 kB / 0.5234 GB, free: 17.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.7834, allocations: 372.9 kB / 0.5237 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.7835, allocations: 37.52 kB / 0.5238 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.7837, allocations: 232.9 kB / 0.524 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.7838, allocations: 102.6 kB / 0.5241 GB, free: 17.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.7838, allocations: 10.25 kB / 0.5241 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.784, allocations: 350.9 kB / 0.5244 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.7846, allocations: 167.6 kB / 0.5246 GB, free: 16.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.7853, allocations: 315.9 kB / 0.5249 GB, free: 16.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.786, allocations: 199.7 kB / 0.5251 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.786, allocations: 0 / 0.5251 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001699/0.7877, allocations: 0.5213 MB / 0.5256 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006267/0.7884, allocations: 1.834 MB / 0.5274 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.7884, allocations: 4 kB / 0.5274 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.7885, allocations: 8 kB / 0.5274 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.7892, allocations: 118.9 kB / 0.5275 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.7893, allocations: 13.75 kB / 0.5275 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.79, allocations: 76.09 kB / 0.5276 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.79, allocations: 25.92 kB / 0.5276 GB, free: 13.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7901, allocations: 6.969 kB / 0.5276 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/0.7916, allocations: 465.4 kB / 0.5281 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7916, allocations: 4 kB / 0.5281 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7917, allocations: 8 kB / 0.5281 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.7924, allocations: 123.8 kB / 0.5282 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.7924, allocations: 14.62 kB / 0.5282 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.7931, allocations: 56.66 kB / 0.5283 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.7932, allocations: 30.48 kB / 0.5283 GB, free: 13.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0004069/0.7936, allocations: 247 kB / 0.5285 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7937, allocations: 39.53 kB / 0.5286 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.7972, allocations: 1.966 MB / 0.5305 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/0.7973, allocations: 33.16 kB / 0.5305 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.7973, allocations: 1.75 kB / 0.5305 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7973, allocations: 3.984 kB / 0.5305 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.7988, allocations: 1.033 MB / 0.5315 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7988, allocations: 0 / 0.5315 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.7994, allocations: 85.94 kB / 0.5316 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7995, allocations: 6.906 kB / 0.5316 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.7995, allocations: 11.94 kB / 0.5316 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.7995, allocations: 0 / 0.5316 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7995, allocations: 3.953 kB / 0.5316 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.8017, allocations: 1.129 MB / 0.5327 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.8023, allocations: 253.8 kB / 0.533 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.8024, allocations: 12.94 kB / 0.533 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/0.803, allocations: 44.19 kB / 0.533 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.8032, allocations: 31.7 kB / 0.5331 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.8032, allocations: 15.94 kB / 0.5331 GB, free: 9.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006462/0.8039, allocations: 321.3 kB / 0.5334 GB, free: 9.426 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.8039, allocations: 0 / 0.5334 GB, free: 9.426 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004767/0.8087, allocations: 1.128 MB / 0.5345 GB, free: 8.352 MB / 410.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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.01102/0.8197, allocations: 2.773 MB / 0.5372 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.8226, allocations: 0.8934 MB / 0.5381 GB, free: 5.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.8227, allocations: 0 / 0.5381 GB, free: 5.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.8238, allocations: 0.5258 MB / 0.5386 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.8258, allocations: 211.2 kB / 0.5388 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/0.8348, allocations: 5.914 MB / 0.5446 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/0.8357, allocations: 1.003 MB / 0.5455 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001677/0.8374, allocations: 0.5883 MB / 0.5461 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.838, allocations: 283.3 kB / 0.5464 GB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/0.838, allocations: 2.625 kB / 0.5464 GB, free: 13.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/0.9616, allocations: 47.53 MB / 0.5928 GB, free: 13.98 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/0.962, allocations: 244.2 kB / 0.593 GB, free: 13.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.011/6.973, allocations: 4 kB / 0.593 GB, free: 13.73 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat