Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 110.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1916/0.1916, allocations: 44.17 MB / 336.2 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 58.91 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08888, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3726/0.4615, allocations: 180.8 MB / 0.6344 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.4656, allocations: 2.201 MB / 0.6366 GB, free: 9.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.4662, allocations: 27.81 kB / 0.6366 GB, free: 9.859 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008142/0.467, allocations: 254.6 kB / 0.6368 GB, free: 9.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.4701, allocations: 1.073 MB / 0.6379 GB, free: 8.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.4718, allocations: 0.6315 MB / 0.6385 GB, free: 7.914 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.4735, allocations: 1.484 MB / 0.6399 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.474, allocations: 408.4 kB / 0.6403 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.4749, allocations: 0.5799 MB / 0.6409 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.4754, allocations: 466.1 kB / 0.6413 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.4755, allocations: 48 kB / 0.6414 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4769, allocations: 0.7451 MB / 0.6421 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4771, allocations: 155.5 kB / 0.6423 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.4775, allocations: 334.5 kB / 0.6426 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.479, allocations: 1.208 MB / 0.6438 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.479, allocations: 4 kB / 0.6438 GB, free: 2.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.479, allocations: 0 / 0.6438 GB, free: 2.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.479, allocations: 0 / 0.6438 GB, free: 2.496 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001636/0.4806, allocations: 0.9857 MB / 0.6447 GB, free: 1.461 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4807, allocations: 12.03 kB / 0.6447 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.4808, allocations: 82.45 kB / 0.6448 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.4818, allocations: 139.2 kB / 0.6449 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.4824, allocations: 448.5 kB / 0.6454 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.4824, allocations: 33 kB / 0.6454 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.4825, allocations: 40 kB / 0.6454 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4836, allocations: 0.5554 MB / 0.646 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4836, allocations: 0 / 0.646 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.4837, allocations: 24 kB / 0.646 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4837, allocations: 11.98 kB / 0.646 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.4845, allocations: 411.7 kB / 0.6464 GB, free: 15.64 MB / 494.1 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.00289/0.4874, allocations: 2.557 MB / 0.6489 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.4881, allocations: 295.5 kB / 0.6492 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.4884, allocations: 148.8 kB / 0.6493 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/0.4888, allocations: 352.3 kB / 0.6497 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4888, allocations: 38.56 kB / 0.6497 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4889, allocations: 0 / 0.6497 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002471/0.4913, allocations: 0.7046 MB / 0.6504 GB, free: 11.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.4914, allocations: 136.5 kB / 0.6505 GB, free: 11.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.4919, allocations: 449.8 kB / 0.651 GB, free: 10.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.492, allocations: 33.7 kB / 0.651 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4922, allocations: 275.9 kB / 0.6512 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.4923, allocations: 98.5 kB / 0.6513 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4925, allocations: 109.5 kB / 0.6514 GB, free: 10.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4927, allocations: 354.8 kB / 0.6518 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.4931, allocations: 147.9 kB / 0.6519 GB, free: 9.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.4936, allocations: 279.2 kB / 0.6522 GB, free: 9.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/0.4944, allocations: 412.8 kB / 0.6526 GB, free: 8.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4945, allocations: 4 kB / 0.6526 GB, free: 8.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001157/0.4956, allocations: 0.5248 MB / 0.6531 GB, free: 8.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4956, allocations: 6.5 kB / 0.6531 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4957, allocations: 7.938 kB / 0.6531 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.4978, allocations: 272.9 kB / 0.6534 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.4982, allocations: 103.8 kB / 0.6535 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009443/0.4992, allocations: 0.5992 MB / 0.6541 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.4997, allocations: 63.5 kB / 0.6541 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/0.4998, allocations: 51.97 kB / 0.6542 GB, free: 7.152 MB / 494.1 MB 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.5, allocations: 186.2 kB / 0.6543 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5002, allocations: 51.34 kB / 0.6544 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.5025, allocations: 1.022 MB / 0.6554 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5025, allocations: 4 kB / 0.6554 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5025, allocations: 0 / 0.6554 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5025, allocations: 0 / 0.6554 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5042, allocations: 0.9693 MB / 0.6563 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5042, allocations: 4 kB / 0.6563 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.5045, allocations: 55.89 kB / 0.6564 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.5063, allocations: 256.6 kB / 0.6566 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.5064, allocations: 16.8 kB / 0.6567 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009148/0.5073, allocations: 0.5991 MB / 0.6572 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5073, allocations: 0 / 0.6572 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.5086, allocations: 0.5194 MB / 0.6578 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5088, allocations: 128.5 kB / 0.6579 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5089, allocations: 15.94 kB / 0.6579 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.5093, allocations: 37.44 kB / 0.6579 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.5094, allocations: 27.84 kB / 0.658 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.5095, allocations: 23.97 kB / 0.658 GB, free: 3.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004601/0.5099, allocations: 386.8 kB / 0.6583 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.51, allocations: 4 kB / 0.6584 GB, free: 2.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007313/0.5107, allocations: 211.8 kB / 0.6586 GB, free: 2.48 MB / 494.1 MB 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.002205/0.5129, allocations: 1.236 MB / 0.6598 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.5144, allocations: 387.8 kB / 0.6601 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5144, allocations: 0 / 0.6601 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007838/0.5152, allocations: 161 kB / 0.6603 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.5169, allocations: 360.7 kB / 0.6606 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/0.5248, allocations: 4.945 MB / 0.6655 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.5252, allocations: 0.8511 MB / 0.6663 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001254/0.5265, allocations: 0.5435 MB / 0.6668 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.5269, allocations: 219.3 kB / 0.667 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5269, allocations: 0 / 0.667 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/1.181, allocations: 19.01 MB / 0.6856 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/1.181, allocations: 314 kB / 0.6859 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.512, allocations: 0 / 0.6859 GB, free: 6.547 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches