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.TestValveCoefficients.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.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",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.01129/0.0113, allocations: 103.8 kB / 15.05 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.001228/0.001228, allocations: 170.4 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.663/1.663, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.254/0.254, allocations: 38.08 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.000652, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08889, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.3974/0.4864, allocations: 67.63 MB / 439.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04417/0.5306, allocations: 24.3 MB / 464.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.5331, allocations: 60.28 kB / 464.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.5373, allocations: 0.9895 MB / 465.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.5555, allocations: 4.062 MB / 469.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02563/0.5812, allocations: 6.111 MB / 475.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004965/0.5862, allocations: 2.157 MB / 477.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.588, allocations: 0.7888 MB / 478.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.5919, allocations: 1.202 MB / 479.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5941, allocations: 0.7629 MB / 480.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.5946, allocations: 60.59 kB / 480.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/0.619, allocations: 8.106 MB / 488.5 MB, free: 3.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008168/0.6199, allocations: 295 kB / 488.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009018/0.6208, allocations: 332.9 kB / 489.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.6333, allocations: 4.566 MB / 493.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6333, allocations: 0 / 493.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.6333, allocations: 0 / 493.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.467e-05/0.6334, allocations: 0 / 493.7 MB, free: 14.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00869/0.6421, allocations: 2.364 MB / 496.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6422, allocations: 8.031 kB / 496.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005162/0.6427, allocations: 185.5 kB / 496.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.6529, allocations: 0.8334 MB / 497.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.6555, allocations: 0.9413 MB / 498 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.6557, allocations: 102.4 kB / 498.1 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.656, allocations: 120.7 kB / 498.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009312/0.6653, allocations: 2.253 MB / 0.4888 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/0.6654, allocations: 7.938 kB / 0.4888 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.6657, allocations: 56 kB / 0.4888 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.6658, allocations: 32 kB / 0.4889 GB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.6764, allocations: 2.166 MB / 0.491 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.6945, allocations: 10.13 MB / 0.5009 GB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007632/0.7022, allocations: 1.553 MB / 0.5024 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06877/0.771, allocations: 17.21 MB / 0.5192 GB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.7711, allocations: 43.22 kB / 0.5192 GB, free: 5.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 3.697e-06/0.7711, allocations: 4 kB / 0.5192 GB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=80): time 0.01317/0.7843, allocations: 2.545 MB / 0.5217 GB, free: 2.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.7845, allocations: 265.7 kB / 0.522 GB, free: 2.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.7866, allocations: 0.9805 MB / 0.5229 GB, free: 1.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.7868, allocations: 41.7 kB / 0.523 GB, free: 1.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.7875, allocations: 0.6753 MB / 0.5236 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.788, allocations: 287 kB / 0.5239 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.7881, allocations: 24 kB / 0.5239 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7883, allocations: 357.9 kB / 0.5243 GB, free: 256 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.7905, allocations: 469.4 kB / 0.5247 GB, free: 15.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.7933, allocations: 1.059 MB / 0.5257 GB, free: 14.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.7959, allocations: 0.5865 MB / 0.5263 GB, free: 13.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/0.796, allocations: 12 kB / 0.5263 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006509/0.8025, allocations: 1.595 MB / 0.5279 GB, free: 12.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003057/0.8056, allocations: 7.314 MB / 0.535 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-05/0.8057, allocations: 20 kB / 0.5351 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.679e-05/0.8058, allocations: 28 kB / 0.5351 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.8086, allocations: 399.4 kB / 0.5355 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-05/0.8087, allocations: 35.86 kB / 0.5355 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.8113, allocations: 262.2 kB / 0.5357 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/0.8117, allocations: 91.84 kB / 0.5358 GB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.8118, allocations: 4 kB / 0.5358 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005769/0.8175, allocations: 1.451 MB / 0.5373 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/0.8176, allocations: 20.22 kB / 0.5373 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.632e-05/0.8177, allocations: 32 kB / 0.5373 GB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.8202, allocations: 391.4 kB / 0.5377 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-05/0.8203, allocations: 39.81 kB / 0.5377 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.8225, allocations: 218.8 kB / 0.5379 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/0.8228, allocations: 75.98 kB / 0.538 GB, free: 1.375 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.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 (167): * Single equations (assignments): 167 * 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.001002/0.8238, allocations: 408.5 kB / 0.5384 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.8242, allocations: 122.5 kB / 0.5385 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.8366, allocations: 5.938 MB / 0.5443 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.8368, allocations: 83.86 kB / 0.5444 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.8368, allocations: 3.953 kB / 0.5444 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.8368, allocations: 7.969 kB / 0.5444 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.8418, allocations: 2.767 MB / 0.5471 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/0.8418, allocations: 11.92 kB / 0.5471 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.8436, allocations: 251.7 kB / 0.5473 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/0.8436, allocations: 4 kB / 0.5473 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.8438, allocations: 27.98 kB / 0.5474 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.8438, allocations: 4 kB / 0.5474 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8438, allocations: 4 kB / 0.5474 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.85, allocations: 2.836 MB / 0.5502 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.8512, allocations: 0.5315 MB / 0.5507 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.8515, allocations: 20 kB / 0.5507 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.8529, allocations: 119.8 kB / 0.5508 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.8532, allocations: 84.88 kB / 0.5509 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/0.8533, allocations: 31.98 kB / 0.5509 GB, free: 4.027 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001668/0.855, allocations: 0.7543 MB / 0.5517 GB, free: 3.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.855, allocations: 0 / 0.5517 GB, free: 3.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008236/0.8633, allocations: 1.647 MB / 0.5533 GB, free: 1.625 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: 56 ($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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01459/0.8779, allocations: 4.664 MB / 0.5578 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008425/0.8864, allocations: 2.609 MB / 0.5604 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.8865, allocations: 0 / 0.5604 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.8897, allocations: 1.439 MB / 0.5618 GB, free: 9.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/0.8952, allocations: 0.5859 MB / 0.5623 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/0.9165, allocations: 19.75 MB / 0.5816 GB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.9182, allocations: 1.662 MB / 0.5833 GB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005495/0.9238, allocations: 1.972 MB / 0.5852 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2642/1.188, allocations: 0.8663 MB / 0.586 GB, free: 159.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.013e-06/1.188, allocations: 0 / 0.586 GB, free: 159.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/1.413, allocations: 75.24 MB / 0.6595 GB, free: 102 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/1.414, allocations: 244 kB / 0.6597 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/8.902, allocations: 0 / 0.6597 GB, free: 101.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat