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.TestCheckValve.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.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",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.01104/0.01105, allocations: 108.7 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.1.mo): time 0.001197/0.001197, allocations: 169.2 kB / 15.93 MB, free: 5.527 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.605/1.605, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.2558/0.2558, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004759, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.0947, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03882/0.1336, allocations: 23.84 MB / 396.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02827/0.1619, allocations: 14.68 MB / 410.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.1626, allocations: 15.88 kB / 410.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1638, allocations: 258.8 kB / 411.1 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.1782, allocations: 3.494 MB / 414.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.1883, allocations: 2.462 MB / 417 MB, free: 12 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1898, allocations: 0.5786 MB / 417.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005407/0.1903, allocations: 232.7 kB / 417.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.1917, allocations: 434.5 kB / 418.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00823/0.1999, allocations: 2.908 MB / 421.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.2001, allocations: 20 kB / 421.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01983/0.22, allocations: 7.152 MB / 428.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.2202, allocations: 87.7 kB / 428.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.2205, allocations: 113.5 kB / 428.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008098/0.2286, allocations: 3.068 MB / 431.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2286, allocations: 0 / 431.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.2286, allocations: 0 / 431.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2287, allocations: 0 / 431.6 MB, free: 1.402 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00437/0.233, allocations: 1.228 MB / 432.8 MB, free: 128 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2331, allocations: 12.03 kB / 432.8 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.2333, allocations: 66.53 kB / 432.9 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2627/0.496, allocations: 226.8 kB / 433.1 MB, free: 61.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.497, allocations: 398.1 kB / 433.5 MB, free: 61.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.4971, allocations: 31.77 kB / 433.6 MB, free: 61.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.472e-05/0.4972, allocations: 29.69 kB / 433.6 MB, free: 61.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.5, allocations: 0.6197 MB / 434.2 MB, free: 61.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.5001, allocations: 0.75 kB / 434.2 MB, free: 61.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.5002, allocations: 14.53 kB / 434.2 MB, free: 61.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5002, allocations: 9.562 kB / 434.2 MB, free: 61.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.5033, allocations: 0.5981 MB / 434.8 MB, free: 61.46 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.004719/0.5081, allocations: 2.589 MB / 437.4 MB, free: 59.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.5106, allocations: 476 kB / 437.9 MB, free: 59.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2326/0.7433, allocations: 51.96 MB / 489.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.7434, allocations: 51.33 kB / 489.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.7434, allocations: 0 / 489.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.004135/0.7475, allocations: 0.8403 MB / 490.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.7476, allocations: 106.8 kB / 490.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.7481, allocations: 353.5 kB / 491.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.7482, allocations: 29.7 kB / 491.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.7484, allocations: 237.7 kB / 491.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.7485, allocations: 84.64 kB / 491.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.7485, allocations: 4 kB / 491.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.7486, allocations: 346.8 kB / 491.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.7493, allocations: 172.6 kB / 492 MB, free: 9.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.7501, allocations: 308 kB / 492.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.7508, allocations: 200.3 kB / 492.5 MB, free: 8.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.7508, allocations: 3.938 kB / 492.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001812/0.7527, allocations: 0.5275 MB / 493.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.753, allocations: 1.483 MB / 494.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.753, allocations: 4 kB / 494.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.7531, allocations: 8 kB / 494.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.7539, allocations: 115.9 kB / 494.7 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7539, allocations: 15.92 kB / 494.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/0.7547, allocations: 67.66 kB / 494.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.7548, allocations: 25.67 kB / 494.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.7548, allocations: 4 kB / 494.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/0.7564, allocations: 463.6 kB / 495.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7565, allocations: 4 kB / 495.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7565, allocations: 4 kB / 495.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.7573, allocations: 120.1 kB / 495.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7573, allocations: 11.98 kB / 495.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.758, allocations: 59.72 kB / 495.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.758, allocations: 24 kB / 495.4 MB, free: 5.59 MB / 330.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 () * Number of clocked 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.000315/0.7584, allocations: 248.6 kB / 495.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.7585, allocations: 39.53 kB / 495.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.762, allocations: 1.995 MB / 497.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.7621, allocations: 27.95 kB / 497.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.7621, allocations: 2.188 kB / 497.8 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7622, allocations: 3.984 kB / 497.8 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.7635, allocations: 1.035 MB / 498.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7635, allocations: 3.938 kB / 498.8 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.7641, allocations: 91.88 kB / 498.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.7642, allocations: 0 / 498.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.7642, allocations: 11.98 kB / 498.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7642, allocations: 0 / 498.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7642, allocations: 4 kB / 498.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.7664, allocations: 1.141 MB / 0.4883 GB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.7668, allocations: 255.4 kB / 0.4886 GB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7669, allocations: 4 kB / 0.4886 GB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.7674, allocations: 39.97 kB / 0.4886 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7676, allocations: 31.95 kB / 0.4886 GB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.7676, allocations: 15.98 kB / 0.4887 GB, free: 0.5664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004733/0.7681, allocations: 310.9 kB / 0.489 GB, free: 268 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7681, allocations: 0 / 0.489 GB, free: 268 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.004181/0.7723, allocations: 1.145 MB / 0.4901 GB, free: 15.2 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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.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 (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.01068/0.783, allocations: 2.835 MB / 0.4928 GB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.7862, allocations: 0.8988 MB / 0.4937 GB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.7863, allocations: 12 kB / 0.4937 GB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.7875, allocations: 0.5288 MB / 0.4942 GB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.7894, allocations: 203 kB / 0.4944 GB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/0.7978, allocations: 5.266 MB / 0.4996 GB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.7987, allocations: 0.9953 MB / 0.5006 GB, free: 4.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001649/0.8004, allocations: 0.5844 MB / 0.5011 GB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/0.801, allocations: 275.3 kB / 0.5014 GB, free: 3.66 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.801, allocations: 0 / 0.5014 GB, free: 3.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1611/0.9621, allocations: 47.42 MB / 0.5477 GB, free: 4.309 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/0.9626, allocations: 240.2 kB / 0.5479 GB, free: 4.062 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.112/7.074, allocations: 4 kB / 0.5479 GB, free: 4.059 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat