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.TestValveIncompressible.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.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01124/0.01124, allocations: 107.2 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.2.mo): time 0.001295/0.001295, allocations: 182.1 kB / 15.95 MB, free: 5.516 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 1.996/1.996, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2625/0.2625, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 12 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1209, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.3851/0.506, allocations: 53.49 MB / 469.5 MB, free: 32.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03613/0.5422, allocations: 21.28 MB / 490.8 MB, free: 22.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.5441, allocations: 44.44 kB / 490.8 MB, free: 22.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.5474, allocations: 0.7418 MB / 491.6 MB, free: 22.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.5624, allocations: 3.729 MB / 495.3 MB, free: 20.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02078/0.5832, allocations: 5.127 MB / 0.4887 GB, free: 17.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003853/0.5871, allocations: 1.664 MB / 0.4903 GB, free: 16.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.5887, allocations: 0.6004 MB / 0.4909 GB, free: 16.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.592, allocations: 0.9459 MB / 0.4918 GB, free: 16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.5937, allocations: 0.58 MB / 0.4924 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.5941, allocations: 45.59 kB / 0.4925 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02349/0.6176, allocations: 7.9 MB / 0.5002 GB, free: 14.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006392/0.6183, allocations: 227.7 kB / 0.5004 GB, free: 13.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.6189, allocations: 261.5 kB / 0.5006 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.6308, allocations: 4.11 MB / 0.5046 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6309, allocations: 1.344 kB / 0.5047 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.6309, allocations: 0 / 0.5047 GB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.6309, allocations: 0 / 0.5047 GB, free: 12.43 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008503/0.6394, allocations: 2.04 MB / 0.5066 GB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6395, allocations: 10.22 kB / 0.5067 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003698/0.6399, allocations: 145 kB / 0.5068 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007598/0.6475, allocations: 0.6641 MB / 0.5074 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.6496, allocations: 0.7605 MB / 0.5082 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.6498, allocations: 78.84 kB / 0.5083 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.65, allocations: 87 kB / 0.5083 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006763/0.6568, allocations: 1.737 MB / 0.51 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.6569, allocations: 3.938 kB / 0.51 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.657, allocations: 41.03 kB / 0.5101 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.6571, allocations: 24.16 kB / 0.5101 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007313/0.6644, allocations: 1.667 MB / 0.5117 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.6755, allocations: 7.4 MB / 0.519 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.6814, allocations: 1.22 MB / 0.5201 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07442/0.7558, allocations: 17.78 MB / 0.5375 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/0.756, allocations: 43.08 kB / 0.5376 GB, free: 14.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.986e-06/0.756, allocations: 0 / 0.5376 GB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.01097/0.767, allocations: 2.09 MB / 0.5396 GB, free: 12.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.7671, allocations: 218.1 kB / 0.5398 GB, free: 12.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.7684, allocations: 0.6922 MB / 0.5405 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.7686, allocations: 41.7 kB / 0.5405 GB, free: 11.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.7692, allocations: 0.5216 MB / 0.541 GB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.7696, allocations: 232.8 kB / 0.5413 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.7697, allocations: 20 kB / 0.5413 GB, free: 10.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.77, allocations: 390.8 kB / 0.5416 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.7717, allocations: 374.4 kB / 0.542 GB, free: 10.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.7739, allocations: 0.7915 MB / 0.5428 GB, free: 9.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.7761, allocations: 469.8 kB / 0.5432 GB, free: 8.684 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.7761, allocations: 11.94 kB / 0.5432 GB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005005/0.7811, allocations: 1.228 MB / 0.5444 GB, free: 7.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001936/0.7831, allocations: 5.059 MB / 0.5494 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/0.7832, allocations: 12 kB / 0.5494 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-05/0.7833, allocations: 20 kB / 0.5494 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.7853, allocations: 299.6 kB / 0.5497 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-05/0.7854, allocations: 27.92 kB / 0.5497 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.7873, allocations: 178.8 kB / 0.5499 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/0.7875, allocations: 63.92 kB / 0.5499 GB, free: 1.395 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7875, allocations: 5.562 kB / 0.55 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004408/0.792, allocations: 1.116 MB / 0.551 GB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.792, allocations: 12 kB / 0.5511 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.281e-05/0.7921, allocations: 24 kB / 0.5511 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.794, allocations: 295.7 kB / 0.5514 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.47e-05/0.7941, allocations: 27.92 kB / 0.5514 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.7958, allocations: 159.1 kB / 0.5515 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.7961, allocations: 63.98 kB / 0.5516 GB, free: 15.7 MB / 426.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.0007814/0.7969, allocations: 356.6 kB / 0.5519 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.7972, allocations: 94.86 kB / 0.552 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009931/0.8072, allocations: 4.651 MB / 0.5566 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.116e-05/0.8073, allocations: 63.89 kB / 0.5566 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8073, allocations: 0 / 0.5566 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.8074, allocations: 7.984 kB / 0.5566 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.8113, allocations: 2.164 MB / 0.5588 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.8113, allocations: 0 / 0.5588 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.8128, allocations: 219.8 kB / 0.559 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.658e-05/0.8129, allocations: 4 kB / 0.559 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.813, allocations: 23.94 kB / 0.559 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.813, allocations: 4 kB / 0.559 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.813, allocations: 4 kB / 0.559 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.8182, allocations: 2.275 MB / 0.5612 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.8193, allocations: 457.3 kB / 0.5617 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.8196, allocations: 16 kB / 0.5617 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.8208, allocations: 100.5 kB / 0.5618 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.8211, allocations: 72.89 kB / 0.5618 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.8212, allocations: 27.98 kB / 0.5619 GB, free: 5.043 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.8223, allocations: 0.5667 MB / 0.5624 GB, free: 4.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8223, allocations: 0 / 0.5624 GB, free: 4.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00696/0.8293, allocations: 1.487 MB / 0.5639 GB, free: 2.98 MB / 426.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.01484/0.8442, allocations: 4.059 MB / 0.5678 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006667/0.8509, allocations: 2.054 MB / 0.5698 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.851, allocations: 0 / 0.5698 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.8535, allocations: 1.144 MB / 0.571 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.8578, allocations: 459.8 kB / 0.5714 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.8749, allocations: 14.37 MB / 0.5854 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.8763, allocations: 1.43 MB / 0.5868 GB, free: 11.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00417/0.8805, allocations: 1.485 MB / 0.5883 GB, free: 9.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.8821, allocations: 0.6672 MB / 0.5889 GB, free: 8.938 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8821, allocations: 0 / 0.5889 GB, free: 8.938 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4961/1.378, allocations: 65.69 MB / 0.6531 GB, free: 159.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.379, allocations: 242.7 kB / 0.6533 GB, free: 159.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/8.417, allocations: 4 kB / 0.6533 GB, free: 159.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat