Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0008421/0.0008421, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009641/0.0009641, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002132, allocations: 4 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.08993, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3286/0.4186, allocations: 181.4 MB / 0.649 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.422, allocations: 2.213 MB / 0.6511 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.4222, allocations: 23.81 kB / 0.6512 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.4229, allocations: 246.6 kB / 0.6514 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.425, allocations: 1.04 MB / 0.6524 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4263, allocations: 0.6209 MB / 0.653 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.4278, allocations: 1.968 MB / 0.6549 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.4283, allocations: 360.7 kB / 0.6553 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.4289, allocations: 0.5018 MB / 0.6558 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.4293, allocations: 450.1 kB / 0.6562 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.4294, allocations: 24 kB / 0.6562 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4305, allocations: 0.7167 MB / 0.6569 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4306, allocations: 131.5 kB / 0.6571 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.4309, allocations: 332.2 kB / 0.6574 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4321, allocations: 1.172 MB / 0.6585 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4321, allocations: 0 / 0.6585 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4321, allocations: 4 kB / 0.6585 GB, free: 5.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4321, allocations: 0 / 0.6585 GB, free: 5.223 MB / 494.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.001352/0.4335, allocations: 0.8539 MB / 0.6594 GB, free: 4.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4335, allocations: 12.02 kB / 0.6594 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.4336, allocations: 78.53 kB / 0.6594 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/0.4346, allocations: 139.2 kB / 0.6596 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.4351, allocations: 444.5 kB / 0.66 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4351, allocations: 29 kB / 0.66 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.4352, allocations: 47.94 kB / 0.6601 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.4361, allocations: 0.5632 MB / 0.6606 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4361, allocations: 3.938 kB / 0.6606 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.4362, allocations: 19.98 kB / 0.6606 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4362, allocations: 15.98 kB / 0.6607 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.437, allocations: 419.6 kB / 0.6611 GB, free: 2.484 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.00248/0.4395, allocations: 2.576 MB / 0.6636 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.4401, allocations: 294.6 kB / 0.6639 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4404, allocations: 149 kB / 0.664 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.4407, allocations: 348.4 kB / 0.6643 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4407, allocations: 46.55 kB / 0.6644 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.4407, allocations: 0 / 0.6644 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002219/0.4429, allocations: 0.7304 MB / 0.6651 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.443, allocations: 132.5 kB / 0.6652 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.4435, allocations: 449.9 kB / 0.6656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.4435, allocations: 33.7 kB / 0.6657 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4437, allocations: 275.7 kB / 0.6659 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.4438, allocations: 98.59 kB / 0.666 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.4439, allocations: 33.7 kB / 0.6661 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.444, allocations: 358.8 kB / 0.6664 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.4444, allocations: 147.9 kB / 0.6665 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.4448, allocations: 280.3 kB / 0.6668 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.4457, allocations: 434 kB / 0.6672 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.4457, allocations: 4 kB / 0.6672 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.4468, allocations: 0.5326 MB / 0.6678 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4468, allocations: 11.94 kB / 0.6678 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4468, allocations: 4 kB / 0.6678 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.4489, allocations: 320.9 kB / 0.6681 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.4492, allocations: 103.9 kB / 0.6682 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000906/0.4502, allocations: 0.6031 MB / 0.6688 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4506, allocations: 67.5 kB / 0.6688 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.4506, allocations: 52.03 kB / 0.6689 GB, free: 9.93 MB / 0.4981 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 (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.0002128/0.4509, allocations: 185.6 kB / 0.6691 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.451, allocations: 51.44 kB / 0.6691 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.453, allocations: 1.03 MB / 0.6701 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.453, allocations: 4 kB / 0.6701 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.453, allocations: 0 / 0.6701 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4531, allocations: 3.938 kB / 0.6701 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.4546, allocations: 0.9753 MB / 0.6711 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4546, allocations: 4 kB / 0.6711 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.4548, allocations: 55.84 kB / 0.6711 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/0.4569, allocations: 344.5 kB / 0.6715 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.457, allocations: 15.98 kB / 0.6715 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008062/0.4578, allocations: 0.6031 MB / 0.6721 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4578, allocations: 0 / 0.6721 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.459, allocations: 0.5312 MB / 0.6726 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.4591, allocations: 156.2 kB / 0.6727 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.4592, allocations: 4 kB / 0.6727 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.4596, allocations: 35.97 kB / 0.6728 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.4597, allocations: 31.89 kB / 0.6728 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.4597, allocations: 15.98 kB / 0.6728 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000421/0.4602, allocations: 398.8 kB / 0.6732 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4602, allocations: 0 / 0.6732 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000599/0.4608, allocations: 227.7 kB / 0.6734 GB, free: 5.094 MB / 0.4981 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 (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.001883/0.4627, allocations: 1.238 MB / 0.6746 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4639, allocations: 376.5 kB / 0.675 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4639, allocations: 7.906 kB / 0.675 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.4646, allocations: 166.8 kB / 0.6751 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.4663, allocations: 341.5 kB / 0.6755 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.4732, allocations: 5.031 MB / 0.6804 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4736, allocations: 0.8433 MB / 0.6812 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001082/0.4747, allocations: 0.5423 MB / 0.6817 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.475, allocations: 223.3 kB / 0.6819 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.475, allocations: 0 / 0.6819 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.5096, allocations: 18.37 MB / 0.6999 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.5099, allocations: 309.3 kB / 0.7002 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.888, allocations: 0 / 0.7002 GB, free: 9.676 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches