Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3927, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2338/0.6265, allocations: 186 MB / 0.7122 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006436/0.633, allocations: 3.26 MB / 0.7153 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007442/0.6338, allocations: 19.88 kB / 0.7154 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.635, allocations: 309.8 kB / 0.7157 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.6392, allocations: 1.422 MB / 0.717 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.6411, allocations: 0.7334 MB / 0.7178 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4113/1.052, allocations: 1.556 MB / 0.7193 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/1.054, allocations: 426.7 kB / 0.7197 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/1.055, allocations: 0.601 MB / 0.7203 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00085/1.056, allocations: 469 kB / 0.7207 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/1.056, allocations: 51.75 kB / 0.7208 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/1.059, allocations: 1.198 MB / 0.7219 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/1.059, allocations: 159 kB / 0.7221 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005953/1.06, allocations: 349.6 kB / 0.7224 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/1.063, allocations: 1.514 MB / 0.7239 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.063, allocations: 4.062 kB / 0.7239 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.424e-06/1.063, allocations: 0 / 0.7239 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.063, allocations: 3.938 kB / 0.7239 GB, free: 3.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002224/1.066, allocations: 1.081 MB / 0.725 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/1.066, allocations: 9.438 kB / 0.725 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/1.066, allocations: 80.11 kB / 0.7251 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.067, allocations: 147.9 kB / 0.7252 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/1.068, allocations: 497.2 kB / 0.7257 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/1.068, allocations: 30 kB / 0.7257 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/1.068, allocations: 43.28 kB / 0.7257 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.069, allocations: 0.5937 MB / 0.7263 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.069, allocations: 1.219 kB / 0.7263 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/1.069, allocations: 16.75 kB / 0.7263 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/1.069, allocations: 12.69 kB / 0.7263 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.07, allocations: 487.7 kB / 0.7268 GB, free: 18.25 MB / 0.5762 GB 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.00304/1.073, allocations: 2.674 MB / 0.7294 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/1.074, allocations: 356.1 kB / 0.7298 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/1.074, allocations: 177.1 kB / 0.7299 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/1.075, allocations: 442.2 kB / 0.7304 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.075, allocations: 37.81 kB / 0.7304 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/1.075, allocations: 3.031 kB / 0.7304 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001732/1.077, allocations: 0.726 MB / 0.7311 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/1.077, allocations: 137.6 kB / 0.7312 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/1.077, allocations: 0.4907 MB / 0.7317 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/1.077, allocations: 30.42 kB / 0.7317 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.077, allocations: 284.9 kB / 0.732 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/1.078, allocations: 127.6 kB / 0.7321 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.078, allocations: 105.8 kB / 0.7322 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.078, allocations: 365.9 kB / 0.7326 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/1.078, allocations: 148.5 kB / 0.7327 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/1.079, allocations: 283.1 kB / 0.733 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/1.079, allocations: 439 kB / 0.7334 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.079, allocations: 2.906 kB / 0.7334 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009104/1.08, allocations: 0.5482 MB / 0.734 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.08, allocations: 6.938 kB / 0.734 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.08, allocations: 4.875 kB / 0.734 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/1.082, allocations: 240.9 kB / 0.7342 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/1.082, allocations: 105.5 kB / 0.7343 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/1.082, allocations: 0.5992 MB / 0.7349 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/1.083, allocations: 51.48 kB / 0.7349 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/1.083, allocations: 43.42 kB / 0.735 GB, free: 13.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/1.083, allocations: 182.8 kB / 0.7351 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.083, allocations: 56.7 kB / 0.7352 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/1.085, allocations: 1.089 MB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.085, allocations: 3.188 kB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.085, allocations: 0.9688 kB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.085, allocations: 3 kB / 0.7363 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.087, allocations: 1.042 MB / 0.7373 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.087, allocations: 1.203 kB / 0.7373 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.087, allocations: 61.98 kB / 0.7373 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/1.09, allocations: 439.7 kB / 0.7378 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/1.09, allocations: 15.33 kB / 0.7378 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005244/1.09, allocations: 0.6076 MB / 0.7384 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.09, allocations: 7.25 kB / 0.7384 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/1.091, allocations: 0.5095 MB / 0.7389 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/1.092, allocations: 138 kB / 0.739 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.092, allocations: 19.02 kB / 0.739 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/1.092, allocations: 15.66 kB / 0.739 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/1.092, allocations: 30.73 kB / 0.7391 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/1.092, allocations: 15.56 kB / 0.7391 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000563/1.093, allocations: 421.4 kB / 0.7395 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/1.093, allocations: 0.9375 kB / 0.7395 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001189/1.094, allocations: 287.1 kB / 0.7398 GB, free: 12.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002031/1.096, allocations: 1.347 MB / 0.7411 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009074/1.097, allocations: 383.5 kB / 0.7414 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.097, allocations: 2.562 kB / 0.7414 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/1.097, allocations: 161.5 kB / 0.7416 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/1.099, allocations: 360.4 kB / 0.7419 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/1.105, allocations: 4.924 MB / 0.7468 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/1.106, allocations: 0.8656 MB / 0.7476 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001284/1.107, allocations: 0.5501 MB / 0.7481 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.108, allocations: 229.5 kB / 0.7484 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of SimCode: time 1.283e-06/1.108, allocations: 4.688 kB / 0.7484 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/1.166, allocations: 21.63 MB / 0.7695 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.38, allocations: 3.75 kB / 0.7695 GB, free: 4.273 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches