Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007282/0.0007282, allocations: 108.8 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3096/0.3096, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3333, allocations: 62.95 MB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1752/0.5085, allocations: 166.8 MB / 0.6789 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.5126, allocations: 2.101 MB / 0.6809 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.5133, allocations: 23.81 kB / 0.6809 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3104/0.8238, allocations: 226.2 kB / 0.6811 GB, free: 5.223 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003911/0.8278, allocations: 1.023 MB / 0.6821 GB, free: 5.211 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.8295, allocations: 0.5541 MB / 0.6827 GB, free: 5.207 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.8316, allocations: 1.7 MB / 0.6843 GB, free: 5.207 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.8321, allocations: 350.4 kB / 0.6847 GB, free: 5.176 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.8328, allocations: 0.4992 MB / 0.6852 GB, free: 5.176 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.8333, allocations: 432.9 kB / 0.6856 GB, free: 5.168 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.8334, allocations: 25.31 kB / 0.6856 GB, free: 5.168 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.8347, allocations: 0.6741 MB / 0.6863 GB, free: 5.168 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.8348, allocations: 126 kB / 0.6864 GB, free: 5.168 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.8353, allocations: 318.5 kB / 0.6867 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000878/0.8362, allocations: 0.8737 MB / 0.6875 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8362, allocations: 0 / 0.6875 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8362, allocations: 0 / 0.6875 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8362, allocations: 0 / 0.6875 GB, free: 21.07 MB / 0.4948 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.001441/0.8377, allocations: 0.8528 MB / 0.6884 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.8377, allocations: 14.62 kB / 0.6884 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.8378, allocations: 80.84 kB / 0.6885 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008281/0.8387, allocations: 136.4 kB / 0.6886 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.8392, allocations: 451.4 kB / 0.689 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.8393, allocations: 30.62 kB / 0.6891 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.8393, allocations: 42.61 kB / 0.6891 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.8402, allocations: 0.5555 MB / 0.6896 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8403, allocations: 2.906 kB / 0.6896 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.8403, allocations: 23.03 kB / 0.6897 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.8403, allocations: 10.03 kB / 0.6897 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.8411, allocations: 424.5 kB / 0.6901 GB, free: 20.04 MB / 0.4948 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.002574/0.8437, allocations: 2.562 MB / 0.6926 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.8443, allocations: 299.2 kB / 0.6929 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.8445, allocations: 156.5 kB / 0.693 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.8449, allocations: 358.9 kB / 0.6934 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.8449, allocations: 41.59 kB / 0.6934 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.432e-06/0.8449, allocations: 1.969 kB / 0.6934 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.002203/0.8471, allocations: 0.7197 MB / 0.6941 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.8472, allocations: 133 kB / 0.6942 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.8477, allocations: 451.7 kB / 0.6947 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.8477, allocations: 30.89 kB / 0.6947 GB, free: 17.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.8479, allocations: 268.6 kB / 0.6949 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.848, allocations: 104.8 kB / 0.695 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.848, allocations: 12.69 kB / 0.6951 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8481, allocations: 356.4 kB / 0.6954 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.8485, allocations: 144.9 kB / 0.6955 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.8489, allocations: 276.5 kB / 0.6958 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.8497, allocations: 440.3 kB / 0.6962 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.8497, allocations: 2.469 kB / 0.6962 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.8508, allocations: 0.527 MB / 0.6967 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8508, allocations: 5.312 kB / 0.6967 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8508, allocations: 4.25 kB / 0.6967 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.8529, allocations: 319.2 kB / 0.697 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.8533, allocations: 104.8 kB / 0.6971 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008796/0.8542, allocations: 0.6098 MB / 0.6977 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.8546, allocations: 60.97 kB / 0.6978 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.8547, allocations: 49.27 kB / 0.6978 GB, free: 15.86 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.8549, allocations: 182.1 kB / 0.698 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.855, allocations: 48.69 kB / 0.6981 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.8572, allocations: 1.032 MB / 0.6991 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8572, allocations: 3.547 kB / 0.6991 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8572, allocations: 0 / 0.6991 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8573, allocations: 1.406 kB / 0.6991 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.8589, allocations: 0.9776 MB / 0.7 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.8589, allocations: 6.078 kB / 0.7 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.8592, allocations: 55.61 kB / 0.7001 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.8613, allocations: 341 kB / 0.7004 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.8614, allocations: 13.75 kB / 0.7004 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/0.8623, allocations: 0.5992 MB / 0.701 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.8623, allocations: 8.891 kB / 0.701 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.8636, allocations: 0.5102 MB / 0.7015 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.8637, allocations: 142.4 kB / 0.7017 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.8638, allocations: 11.11 kB / 0.7017 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.8643, allocations: 40.61 kB / 0.7017 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.8644, allocations: 24.38 kB / 0.7017 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.8644, allocations: 20.19 kB / 0.7017 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005066/0.8649, allocations: 361.9 kB / 0.7021 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8649, allocations: 0 / 0.7021 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008867/0.8658, allocations: 228 kB / 0.7023 GB, free: 14.18 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.8681, allocations: 1.24 MB / 0.7035 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.8695, allocations: 382.3 kB / 0.7039 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8696, allocations: 1.156 kB / 0.7039 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.8703, allocations: 164.8 kB / 0.704 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.8719, allocations: 279.4 kB / 0.7043 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.8774, allocations: 2.966 MB / 0.7072 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.8778, allocations: 0.8453 MB / 0.708 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.8784, allocations: 253.4 kB / 0.7083 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.8784, allocations: 0 / 0.7083 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.354/5.232, allocations: 12.89 MB / 0.7209 GB, free: 7.953 MB / 0.4948 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches