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.001287/0.001287, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 78.47 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1351, allocations: 62.43 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5567/0.6919, allocations: 183.8 MB / 0.6476 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.6966, allocations: 2.232 MB / 0.6498 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006243/0.6973, allocations: 19.81 kB / 0.6498 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008992/0.6982, allocations: 250.6 kB / 0.6501 GB, free: 9.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.7013, allocations: 1.045 MB / 0.6511 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.703, allocations: 0.6088 MB / 0.6517 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.7052, allocations: 1.976 MB / 0.6536 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.7058, allocations: 359.2 kB / 0.6539 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/0.7066, allocations: 0.5135 MB / 0.6544 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.7071, allocations: 462.1 kB / 0.6549 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-05/0.7072, allocations: 28 kB / 0.6549 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.7088, allocations: 0.7138 MB / 0.6556 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.709, allocations: 143.4 kB / 0.6557 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.7094, allocations: 306.5 kB / 0.656 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.7109, allocations: 1.188 MB / 0.6572 GB, free: 2.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7109, allocations: 0 / 0.6572 GB, free: 2.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.711, allocations: 0 / 0.6572 GB, free: 2.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.711, allocations: 0 / 0.6572 GB, free: 2.043 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.001884/0.7129, allocations: 0.9979 MB / 0.6582 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.7129, allocations: 12.03 kB / 0.6582 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.7131, allocations: 78.53 kB / 0.6583 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.714, allocations: 131.3 kB / 0.6584 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.7146, allocations: 444.5 kB / 0.6588 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.7147, allocations: 29 kB / 0.6588 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.7147, allocations: 36 kB / 0.6589 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.7158, allocations: 0.5554 MB / 0.6594 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7158, allocations: 4 kB / 0.6594 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.7159, allocations: 20 kB / 0.6594 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.7159, allocations: 15.98 kB / 0.6594 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.7168, allocations: 407.6 kB / 0.6598 GB, free: 15.2 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.00296/0.7197, allocations: 2.565 MB / 0.6623 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.7204, allocations: 290.7 kB / 0.6626 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.7207, allocations: 144.9 kB / 0.6628 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.7212, allocations: 356.4 kB / 0.6631 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.7212, allocations: 43.23 kB / 0.6631 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.7212, allocations: 0 / 0.6631 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002525/0.7237, allocations: 0.7071 MB / 0.6638 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/0.7238, allocations: 140.5 kB / 0.664 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.7243, allocations: 445.8 kB / 0.6644 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.7244, allocations: 33.7 kB / 0.6644 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.7246, allocations: 271.8 kB / 0.6647 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.7247, allocations: 102.5 kB / 0.6648 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.7249, allocations: 109.6 kB / 0.6649 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7251, allocations: 362.8 kB / 0.6652 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.7255, allocations: 139.9 kB / 0.6654 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.726, allocations: 280.3 kB / 0.6656 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.7268, allocations: 422.1 kB / 0.666 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7268, allocations: 0 / 0.666 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001239/0.7281, allocations: 0.5302 MB / 0.6665 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7281, allocations: 8 kB / 0.6666 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7281, allocations: 7.938 kB / 0.6666 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.7303, allocations: 272.8 kB / 0.6668 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.7307, allocations: 103.8 kB / 0.6669 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.7317, allocations: 0.5992 MB / 0.6675 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.7322, allocations: 63.58 kB / 0.6676 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.7323, allocations: 48.98 kB / 0.6676 GB, free: 6.684 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.0002912/0.7326, allocations: 177.3 kB / 0.6678 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.7328, allocations: 59.34 kB / 0.6678 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.735, allocations: 1.02 MB / 0.6688 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.735, allocations: 0 / 0.6688 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.735, allocations: 4 kB / 0.6688 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.735, allocations: 0 / 0.6688 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.7368, allocations: 0.9673 MB / 0.6698 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7368, allocations: 3.938 kB / 0.6698 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.7371, allocations: 51.95 kB / 0.6698 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.7393, allocations: 285.3 kB / 0.6701 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.7393, allocations: 19.92 kB / 0.6701 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.7403, allocations: 0.603 MB / 0.6707 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7403, allocations: 4.031 kB / 0.6707 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.7416, allocations: 0.5155 MB / 0.6712 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.7418, allocations: 136.4 kB / 0.6714 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7419, allocations: 7.984 kB / 0.6714 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.7423, allocations: 35.88 kB / 0.6714 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.7424, allocations: 27.91 kB / 0.6714 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.7425, allocations: 23.97 kB / 0.6714 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004884/0.743, allocations: 382.8 kB / 0.6718 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.743, allocations: 0 / 0.6718 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008447/0.7438, allocations: 227.8 kB / 0.672 GB, free: 1.977 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.002296/0.7461, allocations: 1.245 MB / 0.6732 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.7476, allocations: 364.5 kB / 0.6736 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7476, allocations: 4 kB / 0.6736 GB, free: 340 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.7483, allocations: 155.8 kB / 0.6737 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.75, allocations: 331.6 kB / 0.6741 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/0.758, allocations: 4.957 MB / 0.6789 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.7585, allocations: 0.851 MB / 0.6797 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001224/0.7597, allocations: 0.5537 MB / 0.6803 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.7601, allocations: 219.3 kB / 0.6805 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7601, allocations: 0 / 0.6805 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.7964, allocations: 18.56 MB / 0.6986 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.7966, allocations: 316.7 kB / 0.6989 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.219, allocations: 0 / 0.6989 GB, free: 6.422 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