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.001132/0.001132, 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.001284/0.001284, 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.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 77.59 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1447, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5104/0.6551, allocations: 185.8 MB / 0.6503 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.6593, allocations: 2.122 MB / 0.6524 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.66, allocations: 23.88 kB / 0.6524 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.661, allocations: 290 kB / 0.6527 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.664, allocations: 1.179 MB / 0.6538 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6658, allocations: 0.6793 MB / 0.6545 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.6679, allocations: 1.481 MB / 0.6559 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.6686, allocations: 416.7 kB / 0.6563 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009996/0.6696, allocations: 0.5722 MB / 0.6569 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.6701, allocations: 438.2 kB / 0.6573 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.6702, allocations: 48 kB / 0.6573 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.6719, allocations: 0.7529 MB / 0.6581 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.6721, allocations: 151.5 kB / 0.6582 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.6724, allocations: 330.5 kB / 0.6585 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.674, allocations: 1.208 MB / 0.6597 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6741, allocations: 0 / 0.6597 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6741, allocations: 0 / 0.6597 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6741, allocations: 4 kB / 0.6597 GB, free: 15.59 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.001777/0.6759, allocations: 0.9863 MB / 0.6607 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6759, allocations: 8.031 kB / 0.6607 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.676, allocations: 82.52 kB / 0.6608 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.677, allocations: 131.2 kB / 0.6609 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.6776, allocations: 448.5 kB / 0.6613 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.6776, allocations: 33 kB / 0.6614 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.6777, allocations: 43.38 kB / 0.6614 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.6786, allocations: 0.5515 MB / 0.6619 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6787, allocations: 0 / 0.6619 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.6787, allocations: 24 kB / 0.662 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6788, allocations: 12 kB / 0.662 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.6796, allocations: 403.6 kB / 0.6624 GB, free: 12.76 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.002723/0.6823, allocations: 2.588 MB / 0.6649 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.6829, allocations: 293.3 kB / 0.6652 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.6832, allocations: 140.8 kB / 0.6653 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.6836, allocations: 352.4 kB / 0.6656 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.6837, allocations: 42.5 kB / 0.6657 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.6837, allocations: 0 / 0.6657 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002306/0.686, allocations: 0.714 MB / 0.6664 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.6861, allocations: 132.5 kB / 0.6665 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.6866, allocations: 445.9 kB / 0.6669 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.6866, allocations: 33.7 kB / 0.667 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.6869, allocations: 275.7 kB / 0.6672 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.386e-05/0.687, allocations: 102.4 kB / 0.6673 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.6871, allocations: 109.6 kB / 0.6674 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6873, allocations: 350.8 kB / 0.6678 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.6877, allocations: 147.9 kB / 0.6679 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.6881, allocations: 280.3 kB / 0.6682 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.689, allocations: 417.6 kB / 0.6686 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.689, allocations: 0 / 0.6686 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001124/0.6901, allocations: 0.5366 MB / 0.6691 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6901, allocations: 10.66 kB / 0.6691 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6902, allocations: 7.938 kB / 0.6691 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.6921, allocations: 276.7 kB / 0.6694 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.6925, allocations: 99.88 kB / 0.6695 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008807/0.6934, allocations: 0.5992 MB / 0.67 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.6938, allocations: 47.52 kB / 0.6701 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.6939, allocations: 51.91 kB / 0.6701 GB, free: 4.238 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.0002632/0.6941, allocations: 189.1 kB / 0.6703 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6943, allocations: 47.44 kB / 0.6704 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6963, allocations: 1.022 MB / 0.6714 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6963, allocations: 4 kB / 0.6714 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6963, allocations: 4 kB / 0.6714 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6963, allocations: 0 / 0.6714 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6979, allocations: 0.975 MB / 0.6723 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6979, allocations: 0 / 0.6723 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.6982, allocations: 47.95 kB / 0.6724 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.6999, allocations: 264.6 kB / 0.6726 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.6999, allocations: 11.92 kB / 0.6726 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000825/0.7007, allocations: 0.5953 MB / 0.6732 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7008, allocations: 0 / 0.6732 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.702, allocations: 0.5194 MB / 0.6737 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.7021, allocations: 132.4 kB / 0.6738 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7022, allocations: 11.94 kB / 0.6739 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.7026, allocations: 19.98 kB / 0.6739 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.7027, allocations: 27.78 kB / 0.6739 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.7027, allocations: 23.97 kB / 0.6739 GB, free: 176 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004859/0.7032, allocations: 390.8 kB / 0.6743 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7032, allocations: 0 / 0.6743 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007483/0.704, allocations: 211.8 kB / 0.6745 GB, free: 15.58 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.00209/0.7061, allocations: 1.239 MB / 0.6757 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.7075, allocations: 384.4 kB / 0.6761 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7075, allocations: 0 / 0.6761 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.7082, allocations: 159.8 kB / 0.6762 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.7098, allocations: 347.1 kB / 0.6766 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.7176, allocations: 4.815 MB / 0.6813 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.7181, allocations: 0.8433 MB / 0.6821 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001338/0.7194, allocations: 0.5419 MB / 0.6826 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.7199, allocations: 219.3 kB / 0.6828 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.7199, allocations: 3.938 kB / 0.6828 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.7688, allocations: 19.24 MB / 0.7016 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.64, allocations: 8.125 kB / 0.7016 GB, free: 3.832 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