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.001614/0.001614, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 78.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3706/0.4758, allocations: 185.8 MB / 0.6503 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.4797, allocations: 2.131 MB / 0.6524 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.4803, allocations: 15.88 kB / 0.6524 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009435/0.4813, allocations: 290 kB / 0.6527 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.4847, allocations: 1.188 MB / 0.6538 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.4864, allocations: 0.6785 MB / 0.6545 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.4883, allocations: 1.481 MB / 0.6559 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/0.4891, allocations: 424.7 kB / 0.6563 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.4902, allocations: 0.5604 MB / 0.6569 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.4911, allocations: 442.2 kB / 0.6573 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4912, allocations: 48 kB / 0.6574 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.4929, allocations: 0.7563 MB / 0.6581 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4931, allocations: 151.5 kB / 0.6582 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.4937, allocations: 326.5 kB / 0.6585 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.4956, allocations: 1.204 MB / 0.6597 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4956, allocations: 8 kB / 0.6597 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4956, allocations: 0 / 0.6597 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.4957, allocations: 0 / 0.6597 GB, free: 15.64 MB / 0.4981 GB 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.002378/0.498, allocations: 0.9823 MB / 0.6607 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4981, allocations: 12.03 kB / 0.6607 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.4982, allocations: 82.53 kB / 0.6608 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.4993, allocations: 135.2 kB / 0.6609 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.5, allocations: 440.5 kB / 0.6613 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.5, allocations: 29 kB / 0.6614 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.5001, allocations: 40 kB / 0.6614 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5013, allocations: 0.5593 MB / 0.6619 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5013, allocations: 0 / 0.6619 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.5014, allocations: 20 kB / 0.662 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5014, allocations: 8 kB / 0.662 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.5023, allocations: 415.6 kB / 0.6624 GB, free: 12.81 MB / 0.4981 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.002902/0.5052, allocations: 2.584 MB / 0.6649 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.5058, allocations: 286.6 kB / 0.6652 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.5062, allocations: 153 kB / 0.6653 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.5065, allocations: 352.4 kB / 0.6656 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5066, allocations: 42.55 kB / 0.6657 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 4.068e-06/0.5066, allocations: 3.938 kB / 0.6657 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002545/0.5092, allocations: 0.71 MB / 0.6664 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.5093, allocations: 132.5 kB / 0.6665 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.5098, allocations: 445.9 kB / 0.6669 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.5099, allocations: 37.64 kB / 0.667 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5101, allocations: 271.8 kB / 0.6672 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5102, allocations: 106.5 kB / 0.6673 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.5104, allocations: 101.7 kB / 0.6674 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5106, allocations: 358.8 kB / 0.6678 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.511, allocations: 147.8 kB / 0.6679 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.5116, allocations: 276.3 kB / 0.6682 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/0.5125, allocations: 421.5 kB / 0.6686 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5125, allocations: 0 / 0.6686 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001294/0.5138, allocations: 0.5287 MB / 0.6691 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5139, allocations: 8 kB / 0.6691 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5139, allocations: 3.938 kB / 0.6691 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.516, allocations: 280.8 kB / 0.6694 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.5165, allocations: 99.88 kB / 0.6695 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009791/0.5175, allocations: 0.5953 MB / 0.67 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.5179, allocations: 55.58 kB / 0.6701 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.518, allocations: 47.98 kB / 0.6701 GB, free: 4.289 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.000297/0.5183, allocations: 184.6 kB / 0.6703 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.5184, allocations: 47.44 kB / 0.6704 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.5207, allocations: 1.017 MB / 0.6714 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.5208, allocations: 4 kB / 0.6714 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5208, allocations: 0 / 0.6714 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5208, allocations: 3.984 kB / 0.6714 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.5227, allocations: 0.9711 MB / 0.6723 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.5227, allocations: 8 kB / 0.6723 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.5229, allocations: 51.95 kB / 0.6724 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.5247, allocations: 260.6 kB / 0.6726 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.5248, allocations: 15.92 kB / 0.6726 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009275/0.5257, allocations: 0.6002 MB / 0.6732 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5257, allocations: 0 / 0.6732 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.5271, allocations: 0.5077 MB / 0.6737 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5272, allocations: 132.4 kB / 0.6738 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5273, allocations: 11.94 kB / 0.6739 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.5277, allocations: 27.91 kB / 0.6739 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.5278, allocations: 23.91 kB / 0.6739 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.5279, allocations: 19.98 kB / 0.6739 GB, free: 236 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004734/0.5284, allocations: 394.7 kB / 0.6743 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5284, allocations: 4 kB / 0.6743 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007381/0.5291, allocations: 219.8 kB / 0.6745 GB, free: 15.62 MB / 0.5137 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.002187/0.5313, allocations: 1.227 MB / 0.6757 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.5327, allocations: 379.5 kB / 0.6761 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5327, allocations: 0 / 0.6761 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.5335, allocations: 160.9 kB / 0.6762 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.5352, allocations: 349.3 kB / 0.6766 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007539/0.5427, allocations: 4.812 MB / 0.6813 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.5431, allocations: 0.8472 MB / 0.6821 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001216/0.5443, allocations: 0.5457 MB / 0.6826 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.5448, allocations: 223.3 kB / 0.6828 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.5448, allocations: 0 / 0.6828 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.5898, allocations: 19.23 MB / 0.7016 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.04, allocations: 18.31 kB / 0.7016 GB, free: 3.891 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_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_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv","/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