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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 111.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2124/0.2124, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 76.31 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4525/0.5672, allocations: 189.8 MB / 0.6732 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005289/0.5725, allocations: 2.14 MB / 0.6753 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.5731, allocations: 15.88 kB / 0.6753 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.574, allocations: 294 kB / 0.6756 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.5782, allocations: 1.411 MB / 0.677 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.5801, allocations: 0.681 MB / 0.6777 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.582, allocations: 1.473 MB / 0.6791 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005997/0.5826, allocations: 427.3 kB / 0.6795 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.5835, allocations: 0.5644 MB / 0.6801 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.584, allocations: 430.2 kB / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.041e-05/0.5841, allocations: 48 kB / 0.6805 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.5862, allocations: 1.002 MB / 0.6815 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.5863, allocations: 155.4 kB / 0.6816 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.5867, allocations: 326.5 kB / 0.682 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.5886, allocations: 1.325 MB / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5886, allocations: 0 / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5886, allocations: 0 / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.5886, allocations: 0 / 0.6833 GB, free: 2.387 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.001756/0.5904, allocations: 1.024 MB / 0.6843 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5904, allocations: 12.03 kB / 0.6843 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.5914, allocations: 139.2 kB / 0.6844 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.5922, allocations: 468.5 kB / 0.6848 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.5922, allocations: 29 kB / 0.6849 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.5923, allocations: 36 kB / 0.6849 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5933, allocations: 0.5477 MB / 0.6854 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5934, allocations: 7.922 kB / 0.6854 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.5935, allocations: 28.02 kB / 0.6855 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.5935, allocations: 8 kB / 0.6855 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.5943, allocations: 405.4 kB / 0.6859 GB, free: 15.58 MB / 0.5294 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.003243/0.5975, allocations: 2.584 MB / 0.6884 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.5982, allocations: 295.2 kB / 0.6887 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.5985, allocations: 148.9 kB / 0.6888 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.5999, allocations: 1.225 MB / 0.69 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.6, allocations: 34.56 kB / 0.69 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.6, allocations: 0 / 0.69 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002264/0.6022, allocations: 0.7037 MB / 0.6907 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.6023, allocations: 132.5 kB / 0.6909 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.6028, allocations: 441.8 kB / 0.6913 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.6029, allocations: 45.64 kB / 0.6913 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.6031, allocations: 267.8 kB / 0.6916 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6032, allocations: 98.58 kB / 0.6917 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.6034, allocations: 109.5 kB / 0.6918 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002406/0.6037, allocations: 354.8 kB / 0.6921 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.6041, allocations: 143.9 kB / 0.6923 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.6046, allocations: 279.2 kB / 0.6925 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.6054, allocations: 416.8 kB / 0.6929 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6054, allocations: 4 kB / 0.6929 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001136/0.6065, allocations: 0.5248 MB / 0.6934 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6066, allocations: 6.656 kB / 0.6934 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.6066, allocations: 8.375 kB / 0.6934 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.6085, allocations: 272.5 kB / 0.6937 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.6089, allocations: 103.8 kB / 0.6938 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000857/0.6098, allocations: 0.6069 MB / 0.6944 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.6101, allocations: 44.39 kB / 0.6944 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.6102, allocations: 47.98 kB / 0.6945 GB, free: 6.082 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.0002238/0.6104, allocations: 189.5 kB / 0.6947 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6106, allocations: 47.44 kB / 0.6947 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.6122, allocations: 0.6619 MB / 0.6954 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6122, allocations: 4 kB / 0.6954 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6122, allocations: 0 / 0.6954 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6122, allocations: 7.984 kB / 0.6954 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6138, allocations: 0.9713 MB / 0.6963 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6138, allocations: 160 / 0.6963 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.6141, allocations: 55.91 kB / 0.6964 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.6158, allocations: 256.5 kB / 0.6966 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.6158, allocations: 15.92 kB / 0.6966 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009205/0.6168, allocations: 0.6069 MB / 0.6972 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6168, allocations: 4.031 kB / 0.6972 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.618, allocations: 0.5036 MB / 0.6977 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.6182, allocations: 132.5 kB / 0.6978 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.6183, allocations: 15.84 kB / 0.6979 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.6186, allocations: 19.92 kB / 0.6979 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.6187, allocations: 31.84 kB / 0.6979 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.6188, allocations: 19.97 kB / 0.6979 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004656/0.6192, allocations: 386.8 kB / 0.6983 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6192, allocations: 0 / 0.6983 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007496/0.62, allocations: 259.8 kB / 0.6985 GB, free: 1.727 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.0008505/0.6208, allocations: 366.4 kB / 0.6989 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.6221, allocations: 368.6 kB / 0.6992 GB, free: 1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6221, allocations: 4 kB / 0.6993 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.6229, allocations: 167.8 kB / 0.6994 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6244, allocations: 341 kB / 0.6997 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.6263, allocations: 0.8962 MB / 0.7006 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6267, allocations: 0.8433 MB / 0.7014 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005765/0.6273, allocations: 200.5 kB / 0.7016 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.6275, allocations: 79.41 kB / 0.7017 GB, free: 14.42 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6275, allocations: 0 / 0.7017 GB, free: 14.42 MB / 0.545 GB Notification: Performance of Templates: time 0.02097/0.6484, allocations: 15.08 MB / 0.7164 GB, free: 15.35 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches