Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01594/0.01595, allocations: 107.3 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00175/0.00175, allocations: 168.6 kB / 15.93 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.666/1.666, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2485/0.2485, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09684, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03785/0.1347, allocations: 23.92 MB / 396.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02884/0.1636, allocations: 14.67 MB / 410.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006747/0.1644, allocations: 19.81 kB / 410.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1656, allocations: 254.9 kB / 411.2 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.1778, allocations: 2.945 MB / 414.1 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.1906, allocations: 2.965 MB / 417.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1921, allocations: 0.5983 MB / 417.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005703/0.1927, allocations: 237.4 kB / 417.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1939, allocations: 422.5 kB / 418.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.1944, allocations: 239 kB / 418.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1946, allocations: 16 kB / 418.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02004/0.2146, allocations: 7.047 MB / 425.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.2149, allocations: 87.64 kB / 425.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.2151, allocations: 117.5 kB / 425.8 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008391/0.2235, allocations: 3.025 MB / 428.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2236, allocations: 0 / 428.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2236, allocations: 0 / 428.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2236, allocations: 0 / 428.8 MB, free: 4.18 MB / 330.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.004482/0.2281, allocations: 1.22 MB / 430.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2282, allocations: 16.03 kB / 430.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.2284, allocations: 70.53 kB / 430.1 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.231, allocations: 219.2 kB / 430.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.232, allocations: 398.6 kB / 430.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.2321, allocations: 28.66 kB / 430.8 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.2322, allocations: 36 kB / 430.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.2348, allocations: 0.6254 MB / 431.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.2349, allocations: 7.938 kB / 431.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.235, allocations: 16 kB / 431.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.235, allocations: 8 kB / 431.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.2378, allocations: 0.5918 MB / 432.1 MB, free: 0.8203 MB / 330.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.2892/0.527, allocations: 2.676 MB / 434.7 MB, free: 59.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.5302, allocations: 0.5605 MB / 435.3 MB, free: 59.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2185/0.7488, allocations: 55.41 MB / 490.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.7489, allocations: 34.56 kB / 490.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.7489, allocations: 0 / 490.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.003986/0.7529, allocations: 0.8299 MB / 491.6 MB, free: 9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.753, allocations: 110.8 kB / 491.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.7535, allocations: 370.5 kB / 492 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.7536, allocations: 29.7 kB / 492.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.7537, allocations: 239.9 kB / 492.3 MB, free: 8.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-05/0.7538, allocations: 96.94 kB / 492.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.7539, allocations: 12 kB / 492.4 MB, free: 8.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.754, allocations: 346.8 kB / 492.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.7546, allocations: 164.8 kB / 492.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.7553, allocations: 321.7 kB / 493.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/0.756, allocations: 190.4 kB / 493.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.756, allocations: 0 / 493.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00167/0.7577, allocations: 0.5236 MB / 493.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.7581, allocations: 1.839 MB / 495.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7581, allocations: 4 kB / 495.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.7581, allocations: 8 kB / 495.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.7589, allocations: 115.7 kB / 495.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7589, allocations: 11.98 kB / 495.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.7596, allocations: 79.52 kB / 496 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.7597, allocations: 27.92 kB / 496 MB, free: 4.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.7597, allocations: 4 kB / 496 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/0.7612, allocations: 468.3 kB / 496.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7613, allocations: 4 kB / 496.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7613, allocations: 12.31 kB / 496.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.762, allocations: 119.8 kB / 496.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.762, allocations: 7.984 kB / 496.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.7627, allocations: 63.66 kB / 496.7 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.7627, allocations: 24 kB / 496.7 MB, free: 3.652 MB / 330.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.0002998/0.763, allocations: 248.9 kB / 496.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.7632, allocations: 43.48 kB / 497 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.7664, allocations: 1.969 MB / 498.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/0.7664, allocations: 28.45 kB / 499 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7664, allocations: 4 kB / 499 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.7665, allocations: 3.984 kB / 499 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.7678, allocations: 1.042 MB / 0.4883 GB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7679, allocations: 3.188 kB / 0.4883 GB, free: 272 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.7685, allocations: 83.88 kB / 0.4884 GB, free: 188 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.7685, allocations: 9.078 kB / 0.4884 GB, free: 180 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.7685, allocations: 12 kB / 0.4884 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.7685, allocations: 0 / 0.4884 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7686, allocations: 0 / 0.4884 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.7709, allocations: 1.12 MB / 0.4895 GB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.7714, allocations: 255.3 kB / 0.4897 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7716, allocations: 11.95 kB / 0.4898 GB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.7721, allocations: 35.97 kB / 0.4898 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.7723, allocations: 35.89 kB / 0.4898 GB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.7723, allocations: 12 kB / 0.4898 GB, free: 14.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006079/0.7729, allocations: 318.8 kB / 0.4901 GB, free: 14.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7729, allocations: 3.938 kB / 0.4901 GB, free: 14.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004224/0.7772, allocations: 1.139 MB / 0.4913 GB, free: 13.29 MB / 346.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.01028/0.7875, allocations: 2.766 MB / 0.494 GB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002994/0.7906, allocations: 0.8988 MB / 0.4948 GB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.7906, allocations: 4.062 kB / 0.4948 GB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7918, allocations: 0.5211 MB / 0.4953 GB, free: 9.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.7938, allocations: 207.1 kB / 0.4955 GB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/0.8029, allocations: 5.916 MB / 0.5013 GB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009564/0.8039, allocations: 1.011 MB / 0.5023 GB, free: 1.969 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001929/0.8059, allocations: 0.5902 MB / 0.5029 GB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/0.8065, allocations: 279.3 kB / 0.5032 GB, free: 1.113 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8066, allocations: 0 / 0.5032 GB, free: 1.113 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/0.9447, allocations: 47.24 MB / 0.5493 GB, free: 1.949 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/0.9451, allocations: 244.2 kB / 0.5495 GB, free: 1.703 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.972/6.917, allocations: 0 / 0.5495 GB, free: 1.703 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat