Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 210.8 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.26 MB / 330.3 MB, free: 9.414 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 71.91 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.124, allocations: 61.03 MB / 0.5162 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4425/0.5665, allocations: 164.8 MB / 0.6771 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00451/0.571, allocations: 2.029 MB / 0.679 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.5719, allocations: 23.75 kB / 0.6791 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.5732, allocations: 294 kB / 0.6794 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.5776, allocations: 1.431 MB / 0.6807 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.5797, allocations: 0.7031 MB / 0.6814 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.582, allocations: 1.481 MB / 0.6829 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.5827, allocations: 359.7 kB / 0.6832 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.584, allocations: 0.5761 MB / 0.6838 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.5849, allocations: 450 kB / 0.6842 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5851, allocations: 48 kB / 0.6843 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.5873, allocations: 0.8698 MB / 0.6851 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.5875, allocations: 151.4 kB / 0.6853 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.588, allocations: 278.8 kB / 0.6855 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.5906, allocations: 1.316 MB / 0.6868 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5906, allocations: 0 / 0.6868 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5906, allocations: 0 / 0.6868 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.5906, allocations: 0 / 0.6868 GB, free: 3.402 MB / 0.5137 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.002415/0.5931, allocations: 0.9752 MB / 0.6878 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5931, allocations: 8.031 kB / 0.6878 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.5932, allocations: 82.53 kB / 0.6878 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5944, allocations: 131.5 kB / 0.688 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5954, allocations: 413.6 kB / 0.6884 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.5955, allocations: 29 kB / 0.6884 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.5955, allocations: 36 kB / 0.6884 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.5969, allocations: 0.845 MB / 0.6893 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.5969, allocations: 11.94 kB / 0.6893 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.597, allocations: 23.94 kB / 0.6893 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.597, allocations: 15.98 kB / 0.6893 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.5979, allocations: 395.6 kB / 0.6897 GB, free: 292 kB / 0.5137 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.003187/0.6011, allocations: 1.9 MB / 0.6915 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.6018, allocations: 275.3 kB / 0.6918 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.6021, allocations: 137.8 kB / 0.6919 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.6031, allocations: 402.1 kB / 0.6923 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.6031, allocations: 38.56 kB / 0.6923 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 3.095e-06/0.6031, allocations: 0 / 0.6923 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.00247/0.6056, allocations: 0.6344 MB / 0.693 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.6057, allocations: 132.5 kB / 0.6931 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.6063, allocations: 449.8 kB / 0.6935 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.6064, allocations: 33.7 kB / 0.6936 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.6066, allocations: 272.2 kB / 0.6938 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6068, allocations: 111 kB / 0.6939 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.6069, allocations: 105.6 kB / 0.694 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6071, allocations: 358.8 kB / 0.6944 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.6075, allocations: 147.9 kB / 0.6945 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/0.6081, allocations: 344.4 kB / 0.6948 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000941/0.609, allocations: 420.5 kB / 0.6952 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.609, allocations: 7.922 kB / 0.6952 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001361/0.6104, allocations: 0.526 MB / 0.6958 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6104, allocations: 11.94 kB / 0.6958 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.6104, allocations: 7.984 kB / 0.6958 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.6125, allocations: 267.6 kB / 0.696 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.6129, allocations: 103.9 kB / 0.6961 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/0.6139, allocations: 0.5992 MB / 0.6967 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.6143, allocations: 47.61 kB / 0.6968 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.6144, allocations: 47.98 kB / 0.6968 GB, free: 8.656 MB / 0.5294 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.0003036/0.6147, allocations: 185.8 kB / 0.697 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6149, allocations: 51.75 kB / 0.697 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.6166, allocations: 0.6594 MB / 0.6977 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6166, allocations: 11.98 kB / 0.6977 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6166, allocations: 0 / 0.6977 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.6166, allocations: 3.938 kB / 0.6977 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.6186, allocations: 0.8924 MB / 0.6986 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.6186, allocations: 4 kB / 0.6986 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.6188, allocations: 51.95 kB / 0.6986 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/0.6207, allocations: 264.5 kB / 0.6989 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.6207, allocations: 11.98 kB / 0.6989 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009739/0.6217, allocations: 0.5992 MB / 0.6995 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6217, allocations: 0 / 0.6995 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.623, allocations: 0.5117 MB / 0.7 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.6232, allocations: 55.59 kB / 0.7 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.6233, allocations: 11.94 kB / 0.7 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.6237, allocations: 23.97 kB / 0.7001 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.6238, allocations: 27.89 kB / 0.7001 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.6239, allocations: 19.92 kB / 0.7001 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005806/0.6245, allocations: 390.8 kB / 0.7005 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6245, allocations: 0 / 0.7005 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009207/0.6254, allocations: 263.5 kB / 0.7007 GB, free: 4.477 MB / 0.5294 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.002562/0.6279, allocations: 1.301 MB / 0.702 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.6294, allocations: 359.4 kB / 0.7023 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6294, allocations: 0 / 0.7023 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.6301, allocations: 153 kB / 0.7025 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6319, allocations: 356.1 kB / 0.7028 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008977/0.6409, allocations: 4.712 MB / 0.7074 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.6412, allocations: 250.3 kB / 0.7077 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007395/0.6419, allocations: 188.6 kB / 0.7078 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.6423, allocations: 207.3 kB / 0.708 GB, free: 12.73 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.6423, allocations: 0 / 0.708 GB, free: 12.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0599/0.7022, allocations: 22.28 MB / 0.7298 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.13, allocations: 16.05 kB / 0.7298 GB, free: 6.402 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.05696977302432]