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.00103/0.00103, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001256/0.001256, allocations: 192 kB / 18.56 MB, free: 4.434 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.283/1.283, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1819/0.1819, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 56.56 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3326/0.4431, allocations: 182.8 MB / 0.6369 GB, free: 9.66 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.4467, allocations: 2.134 MB / 0.639 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.447, allocations: 15.88 kB / 0.639 GB, free: 7.504 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007253/0.4478, allocations: 297.9 kB / 0.6393 GB, free: 7.211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.4501, allocations: 1.164 MB / 0.6404 GB, free: 6.047 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4515, allocations: 0.6785 MB / 0.6411 GB, free: 5.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4528, allocations: 1.477 MB / 0.6425 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004934/0.4533, allocations: 419.5 kB / 0.6429 GB, free: 3.48 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.4539, allocations: 0.5683 MB / 0.6435 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.4544, allocations: 430.2 kB / 0.6439 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.4545, allocations: 51.94 kB / 0.644 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4556, allocations: 0.7529 MB / 0.6447 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.4558, allocations: 151.5 kB / 0.6448 GB, free: 1.535 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.4561, allocations: 326.5 kB / 0.6451 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.4573, allocations: 1.196 MB / 0.6463 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4573, allocations: 0 / 0.6463 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4573, allocations: 4 kB / 0.6463 GB, free: 12 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4573, allocations: 0 / 0.6463 GB, free: 12 kB / 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.001524/0.4589, allocations: 0.9903 MB / 0.6473 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4589, allocations: 12.03 kB / 0.6473 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.263e-05/0.459, allocations: 78.53 kB / 0.6474 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.4599, allocations: 139.2 kB / 0.6475 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.4604, allocations: 436.6 kB / 0.6479 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.4605, allocations: 29 kB / 0.6479 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.4605, allocations: 40 kB / 0.648 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.4614, allocations: 0.5593 MB / 0.6485 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4615, allocations: 0 / 0.6485 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.4615, allocations: 24 kB / 0.6486 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4615, allocations: 11.98 kB / 0.6486 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.4623, allocations: 407.6 kB / 0.649 GB, free: 13.17 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.002493/0.4648, allocations: 2.58 MB / 0.6515 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.4654, allocations: 286.7 kB / 0.6517 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.4657, allocations: 148.9 kB / 0.6519 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.466, allocations: 360.3 kB / 0.6522 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.4661, allocations: 38.56 kB / 0.6523 GB, free: 9.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.352e-06/0.4661, allocations: 0 / 0.6523 GB, free: 9.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002252/0.4683, allocations: 0.7061 MB / 0.653 GB, free: 8.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4684, allocations: 136.5 kB / 0.6531 GB, free: 8.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.4688, allocations: 441.9 kB / 0.6535 GB, free: 8.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.4689, allocations: 33.7 kB / 0.6535 GB, free: 8.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.4691, allocations: 279.8 kB / 0.6538 GB, free: 7.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.4692, allocations: 98.5 kB / 0.6539 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4693, allocations: 105.7 kB / 0.654 GB, free: 7.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4694, allocations: 358.8 kB / 0.6543 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.4698, allocations: 143.9 kB / 0.6545 GB, free: 7.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.4703, allocations: 275.2 kB / 0.6547 GB, free: 6.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/0.4711, allocations: 422.3 kB / 0.6551 GB, free: 6.316 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4711, allocations: 3.984 kB / 0.6552 GB, free: 6.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001119/0.4722, allocations: 0.5257 MB / 0.6557 GB, free: 5.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4722, allocations: 8 kB / 0.6557 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4723, allocations: 7.938 kB / 0.6557 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.4742, allocations: 276.8 kB / 0.6559 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.4746, allocations: 107.8 kB / 0.656 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000841/0.4755, allocations: 0.5992 MB / 0.6566 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.4759, allocations: 47.52 kB / 0.6567 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.4759, allocations: 47.98 kB / 0.6567 GB, free: 4.664 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.0002067/0.4762, allocations: 181.7 kB / 0.6569 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.4763, allocations: 48.38 kB / 0.6569 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.4783, allocations: 1.022 MB / 0.6579 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4783, allocations: 4 kB / 0.6579 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4784, allocations: 0.8125 kB / 0.6579 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4784, allocations: 0 / 0.6579 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.4798, allocations: 0.9751 MB / 0.6589 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4799, allocations: 3.938 kB / 0.6589 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.4801, allocations: 55.89 kB / 0.659 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/0.4819, allocations: 260.6 kB / 0.6592 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4819, allocations: 15.92 kB / 0.6592 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008144/0.4827, allocations: 0.6031 MB / 0.6598 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4827, allocations: 3.984 kB / 0.6598 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4839, allocations: 0.5077 MB / 0.6603 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.484, allocations: 132.4 kB / 0.6604 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4841, allocations: 11.94 kB / 0.6604 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4845, allocations: 19.98 kB / 0.6605 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.4846, allocations: 27.89 kB / 0.6605 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.4846, allocations: 15.98 kB / 0.6605 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004253/0.4851, allocations: 390.8 kB / 0.6609 GB, free: 224 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4851, allocations: 4 kB / 0.6609 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007044/0.4858, allocations: 219.8 kB / 0.6611 GB, free: 0 / 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.001984/0.4878, allocations: 1.239 MB / 0.6623 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.4891, allocations: 385 kB / 0.6627 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4891, allocations: 4 kB / 0.6627 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.4899, allocations: 160.9 kB / 0.6628 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.4915, allocations: 347.1 kB / 0.6632 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.4984, allocations: 4.806 MB / 0.6679 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.4988, allocations: 0.8472 MB / 0.6687 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001143/0.4999, allocations: 0.5435 MB / 0.6692 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.5003, allocations: 219.3 kB / 0.6694 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.5003, allocations: 0 / 0.6694 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1523/0.6527, allocations: 19.19 MB / 0.6882 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.36, allocations: 11.5 kB / 0.6882 GB, free: 4.367 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