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.0009444/0.0009444, allocations: 92.12 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.001103/0.001103, allocations: 204.2 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.262/1.262, allocations: 227.7 MB / 246.8 MB, free: 9.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1765/0.1765, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09249, allocations: 63.56 MB / 483.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3436/0.4361, allocations: 181.4 MB / 0.649 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003481/0.4396, allocations: 2.216 MB / 0.6511 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.44, allocations: 19.81 kB / 0.6512 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.4406, allocations: 254.6 kB / 0.6514 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.4429, allocations: 1.033 MB / 0.6524 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4443, allocations: 0.6214 MB / 0.653 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.446, allocations: 1.98 MB / 0.655 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.4465, allocations: 351.3 kB / 0.6553 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.4471, allocations: 0.5057 MB / 0.6558 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.4476, allocations: 442.1 kB / 0.6562 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.4477, allocations: 24 kB / 0.6562 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4489, allocations: 0.7177 MB / 0.6569 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.4491, allocations: 131.5 kB / 0.6571 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.4493, allocations: 332.2 kB / 0.6574 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.4506, allocations: 1.172 MB / 0.6585 GB, free: 5.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.4506, allocations: 4 kB / 0.6585 GB, free: 5.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4506, allocations: 3.938 kB / 0.6585 GB, free: 5.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4506, allocations: 0 / 0.6585 GB, free: 5.219 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.001433/0.452, allocations: 0.8577 MB / 0.6594 GB, free: 4.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4521, allocations: 12.03 kB / 0.6594 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.4522, allocations: 82.53 kB / 0.6595 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.4532, allocations: 131.2 kB / 0.6596 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.4538, allocations: 440.6 kB / 0.66 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.4538, allocations: 32.94 kB / 0.66 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.4539, allocations: 48 kB / 0.6601 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000969/0.4548, allocations: 0.5593 MB / 0.6606 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4549, allocations: 7.922 kB / 0.6606 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.4549, allocations: 20 kB / 0.6607 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.455, allocations: 12 kB / 0.6607 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.4558, allocations: 415.6 kB / 0.6611 GB, free: 2.488 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.00268/0.4585, allocations: 2.577 MB / 0.6636 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.4591, allocations: 290.6 kB / 0.6639 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.4594, allocations: 157 kB / 0.664 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.4597, allocations: 352.4 kB / 0.6643 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4597, allocations: 38.56 kB / 0.6644 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.4597, allocations: 0 / 0.6644 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002379/0.4621, allocations: 0.7265 MB / 0.6651 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.4622, allocations: 140.5 kB / 0.6652 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.4627, allocations: 446 kB / 0.6656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.4627, allocations: 33.69 kB / 0.6657 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4629, allocations: 271.7 kB / 0.6659 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.463, allocations: 102.6 kB / 0.666 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.4631, allocations: 33.7 kB / 0.6661 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4632, allocations: 358.8 kB / 0.6664 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.4636, allocations: 151.9 kB / 0.6666 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.464, allocations: 286.6 kB / 0.6668 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/0.4649, allocations: 430 kB / 0.6672 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4649, allocations: 0 / 0.6672 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001148/0.466, allocations: 0.533 MB / 0.6678 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4661, allocations: 12 kB / 0.6678 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4661, allocations: 4 kB / 0.6678 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/0.4682, allocations: 320.5 kB / 0.6681 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.4686, allocations: 103.9 kB / 0.6682 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008435/0.4694, allocations: 0.6069 MB / 0.6688 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.4699, allocations: 59.62 kB / 0.6688 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/0.47, allocations: 47.98 kB / 0.6689 GB, free: 9.938 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.0002371/0.4702, allocations: 185.7 kB / 0.669 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.4703, allocations: 55.36 kB / 0.6691 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.4724, allocations: 1.04 MB / 0.6701 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4724, allocations: 0 / 0.6701 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4724, allocations: 0 / 0.6701 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4724, allocations: 7.938 kB / 0.6701 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.474, allocations: 0.9791 MB / 0.6711 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.474, allocations: 0 / 0.6711 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.4743, allocations: 51.91 kB / 0.6711 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/0.4765, allocations: 352.5 kB / 0.6715 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.4765, allocations: 11.98 kB / 0.6715 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008141/0.4773, allocations: 0.5991 MB / 0.6721 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4773, allocations: 4.031 kB / 0.6721 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4786, allocations: 0.5272 MB / 0.6726 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.4787, allocations: 156.3 kB / 0.6727 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.4788, allocations: 4 kB / 0.6727 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.4793, allocations: 39.95 kB / 0.6728 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.4794, allocations: 23.91 kB / 0.6728 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.4794, allocations: 23.98 kB / 0.6728 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004474/0.4799, allocations: 394.8 kB / 0.6732 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4799, allocations: 0 / 0.6732 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007096/0.4806, 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.002026/0.4826, allocations: 1.244 MB / 0.6746 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.4839, allocations: 379.6 kB / 0.675 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.484, allocations: 3.906 kB / 0.675 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.4847, allocations: 172 kB / 0.6752 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4865, allocations: 328 kB / 0.6755 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.4939, allocations: 5.023 MB / 0.6804 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4942, allocations: 0.8511 MB / 0.6812 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001189/0.4954, allocations: 0.5426 MB / 0.6817 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.4958, allocations: 219.3 kB / 0.6819 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4958, allocations: 0 / 0.6819 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.5294, 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.0002054/0.5297, allocations: 319.4 kB / 0.7002 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.756, allocations: 0 / 0.7002 GB, free: 9.668 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