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.TestValveIncompressible.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.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.015/0.01501, allocations: 106.2 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.001254/0.001254, allocations: 168.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.701/1.701, allocations: 170.9 MB / 187.6 MB, free: 0.8516 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.2569/0.2569, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.000511, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09482, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.08753/0.1824, allocations: 53.06 MB / 425.4 MB, free: 7.652 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3262/0.5087, allocations: 21.08 MB / 446.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.5107, allocations: 45.94 kB / 446.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.514, allocations: 0.7396 MB / 447.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01673/0.5308, allocations: 3.691 MB / 450.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02178/0.5526, allocations: 5.07 MB / 456 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.5569, allocations: 1.634 MB / 457.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.5584, allocations: 0.5982 MB / 458.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.5618, allocations: 0.9332 MB / 459.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.5636, allocations: 0.581 MB / 459.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.5639, allocations: 48.39 kB / 459.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.5865, allocations: 7.738 MB / 467.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.5872, allocations: 230.2 kB / 467.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.5879, allocations: 261 kB / 468 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.5984, allocations: 4.043 MB / 472 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5985, allocations: 0 / 472 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5985, allocations: 1.219 kB / 472 MB, free: 8.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.765e-05/0.5985, allocations: 0 / 472 MB, free: 8.68 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006986/0.6055, allocations: 1.993 MB / 474 MB, free: 7.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6056, allocations: 10.28 kB / 474 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003669/0.606, allocations: 137.9 kB / 474.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/0.6134, allocations: 0.6256 MB / 474.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.6153, allocations: 0.7601 MB / 475.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6155, allocations: 84.98 kB / 475.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.6157, allocations: 86.94 kB / 475.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006722/0.6224, allocations: 1.726 MB / 477.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.6225, allocations: 2.812 kB / 477.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.6227, allocations: 45.16 kB / 477.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.6227, allocations: 23.98 kB / 477.5 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.6301, allocations: 1.669 MB / 479.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.6414, allocations: 7.4 MB / 486.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.6475, allocations: 1.214 MB / 487.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07239/0.7199, allocations: 17.75 MB / 0.4937 GB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.72, allocations: 44.41 kB / 0.4938 GB, free: 9.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.186e-06/0.7201, allocations: 0 / 0.4938 GB, free: 9.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=67): time 0.01093/0.731, allocations: 2.081 MB / 0.4958 GB, free: 7.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.7312, allocations: 223.9 kB / 0.496 GB, free: 7.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.7325, allocations: 0.6894 MB / 0.4967 GB, free: 7.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.7327, allocations: 38.39 kB / 0.4967 GB, free: 7.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.7332, allocations: 0.531 MB / 0.4972 GB, free: 6.742 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.7335, allocations: 229.3 kB / 0.4974 GB, free: 6.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.7336, allocations: 21.62 kB / 0.4975 GB, free: 6.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.7338, allocations: 397.5 kB / 0.4978 GB, free: 6.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.7355, allocations: 374.4 kB / 0.4982 GB, free: 5.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.7375, allocations: 0.7874 MB / 0.499 GB, free: 5.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.7395, allocations: 472 kB / 0.4994 GB, free: 4.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.7396, allocations: 4 kB / 0.4994 GB, free: 4.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004881/0.7445, allocations: 1.233 MB / 0.5006 GB, free: 3.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002093/0.7466, allocations: 5.055 MB / 0.5056 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.7467, allocations: 12 kB / 0.5056 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.679e-05/0.7467, allocations: 27.95 kB / 0.5056 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.7488, allocations: 299.3 kB / 0.5059 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.804e-05/0.7489, allocations: 23.36 kB / 0.5059 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.7506, allocations: 179.5 kB / 0.5061 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.7508, allocations: 61.11 kB / 0.5061 GB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7508, allocations: 4 kB / 0.5061 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004178/0.755, allocations: 1.124 MB / 0.5072 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.7551, allocations: 12.19 kB / 0.5073 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-05/0.7551, allocations: 24 kB / 0.5073 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.757, allocations: 293.2 kB / 0.5076 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/0.7571, allocations: 27.88 kB / 0.5076 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7586, allocations: 158.1 kB / 0.5077 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.7587, allocations: 59.73 kB / 0.5078 GB, free: 12.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.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 (127): * Single equations (assignments): 127 * 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.0006966/0.7595, allocations: 350.6 kB / 0.5081 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.7597, allocations: 98.86 kB / 0.5082 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/0.7693, allocations: 4.646 MB / 0.5128 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.999e-05/0.7695, allocations: 63.89 kB / 0.5128 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7695, allocations: 0 / 0.5128 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.7695, allocations: 3.984 kB / 0.5128 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.7734, allocations: 2.168 MB / 0.5149 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.7734, allocations: 4 kB / 0.5149 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.775, allocations: 219.7 kB / 0.5152 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.7751, allocations: 4 kB / 0.5152 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.7752, allocations: 23.98 kB / 0.5152 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.7752, allocations: 4 kB / 0.5152 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7752, allocations: 0 / 0.5152 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.7807, allocations: 2.287 MB / 0.5174 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/0.7817, allocations: 446.6 kB / 0.5178 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.7819, allocations: 16 kB / 0.5179 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.7831, allocations: 103.8 kB / 0.518 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.7834, allocations: 68.89 kB / 0.518 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.7835, allocations: 28 kB / 0.518 GB, free: 2.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001139/0.7846, allocations: 0.5688 MB / 0.5186 GB, free: 1.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7846, allocations: 0 / 0.5186 GB, free: 1.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006024/0.7907, allocations: 1.483 MB / 0.5201 GB, free: 68 kB / 378.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: 42 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01367/0.8044, allocations: 4.06 MB / 0.524 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.8112, allocations: 2.054 MB / 0.526 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/0.8113, allocations: 0 / 0.526 GB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.814, allocations: 1.151 MB / 0.5271 GB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/0.8182, allocations: 455.1 kB / 0.5276 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.8351, allocations: 14.36 MB / 0.5416 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.8365, allocations: 1.43 MB / 0.543 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004228/0.8408, allocations: 1.473 MB / 0.5444 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.8423, allocations: 0.6633 MB / 0.5451 GB, free: 6.277 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8423, allocations: 4 kB / 0.5451 GB, free: 6.273 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4359/1.278, allocations: 65.4 MB / 0.609 GB, free: 175.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/1.279, allocations: 247.3 kB / 0.6092 GB, free: 175.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/8.602, allocations: 0 / 0.6092 GB, free: 175.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat