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.001203/0.001203, allocations: 119.3 kB / 17.09 MB, free: 5.938 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.001151/0.001151, allocations: 197.2 kB / 18.01 MB, free: 5.027 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.218/0.218, allocations: 43.52 MB / 314.8 MB, free: 452 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.001379/0.001379, allocations: 67.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1374, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5267/0.6642, allocations: 189.8 MB / 0.6739 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004552/0.6688, allocations: 2.136 MB / 0.676 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.6696, allocations: 15.88 kB / 0.676 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6709, allocations: 294 kB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.6757, allocations: 1.41 MB / 0.6777 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.6778, allocations: 0.6785 MB / 0.6783 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.6802, allocations: 1.473 MB / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.6811, allocations: 431.4 kB / 0.6802 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.6823, allocations: 0.5644 MB / 0.6807 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009283/0.6833, allocations: 438.2 kB / 0.6811 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.6835, allocations: 48 kB / 0.6812 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.6862, allocations: 1.002 MB / 0.6822 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.6865, allocations: 147.5 kB / 0.6823 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.6871, allocations: 326.5 kB / 0.6826 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.6901, allocations: 1.321 MB / 0.6839 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.6901, allocations: 4 kB / 0.6839 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6901, allocations: 0 / 0.6839 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.616e-05/0.6902, allocations: 3.938 kB / 0.6839 GB, free: 2.484 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.002495/0.6927, allocations: 1.025 MB / 0.6849 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6927, allocations: 11.97 kB / 0.6849 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6938, allocations: 135.2 kB / 0.6851 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.6947, allocations: 472.5 kB / 0.6855 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.6948, allocations: 29 kB / 0.6855 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.6949, allocations: 36 kB / 0.6856 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6959, allocations: 0.5515 MB / 0.6861 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.6959, allocations: 0 / 0.6861 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.696, allocations: 19.94 kB / 0.6861 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.696, allocations: 12 kB / 0.6861 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.6969, allocations: 411.6 kB / 0.6865 GB, free: 15.68 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.002984/0.6999, allocations: 2.584 MB / 0.6891 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.7005, allocations: 290.9 kB / 0.6893 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.7008, allocations: 148.8 kB / 0.6895 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.7021, allocations: 1.221 MB / 0.6907 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.7022, allocations: 38.56 kB / 0.6907 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.7022, allocations: 3.938 kB / 0.6907 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002399/0.7046, allocations: 0.6998 MB / 0.6914 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.7047, allocations: 132.5 kB / 0.6915 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.7052, allocations: 449.8 kB / 0.6919 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.7053, allocations: 37.7 kB / 0.692 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.7055, allocations: 275.8 kB / 0.6922 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.7056, allocations: 98.58 kB / 0.6923 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.7058, allocations: 105.6 kB / 0.6924 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.706, allocations: 354.8 kB / 0.6928 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.7064, allocations: 139.9 kB / 0.6929 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.7068, allocations: 279.2 kB / 0.6932 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.7077, allocations: 423.9 kB / 0.6936 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7077, allocations: 0 / 0.6936 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001217/0.7089, allocations: 0.5209 MB / 0.6941 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.709, allocations: 8 kB / 0.6941 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.709, allocations: 8.375 kB / 0.6941 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.711, allocations: 268.5 kB / 0.6944 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.7114, allocations: 107.8 kB / 0.6945 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009148/0.7123, allocations: 0.5952 MB / 0.695 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.7128, allocations: 51.52 kB / 0.6951 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-05/0.7129, allocations: 51.97 kB / 0.6951 GB, free: 6.184 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.0002905/0.7132, allocations: 185.5 kB / 0.6953 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.7133, allocations: 47.44 kB / 0.6954 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.7149, allocations: 0.6626 MB / 0.696 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.715, allocations: 4 kB / 0.696 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.715, allocations: 0 / 0.696 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.715, allocations: 4 kB / 0.696 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.7167, allocations: 0.9752 MB / 0.697 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7167, allocations: 160 / 0.697 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.717, allocations: 59.89 kB / 0.697 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.7187, allocations: 252.5 kB / 0.6973 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.7188, allocations: 15.92 kB / 0.6973 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000883/0.7197, allocations: 0.6069 MB / 0.6979 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7197, allocations: 7.875 kB / 0.6979 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.721, allocations: 0.4998 MB / 0.6984 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.7212, allocations: 128.5 kB / 0.6985 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.7213, allocations: 19.84 kB / 0.6985 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.7217, allocations: 19.97 kB / 0.6985 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.7218, allocations: 23.84 kB / 0.6986 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.7219, allocations: 23.98 kB / 0.6986 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005215/0.7224, allocations: 386.8 kB / 0.699 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7224, allocations: 0 / 0.699 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009084/0.7233, allocations: 255.8 kB / 0.6992 GB, free: 1.836 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.001062/0.7244, allocations: 375.1 kB / 0.6996 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.7258, allocations: 367.8 kB / 0.6999 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7258, allocations: 0.875 kB / 0.6999 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.7266, allocations: 163.8 kB / 0.7001 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.7283, allocations: 350.1 kB / 0.7004 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.7306, allocations: 0.9214 MB / 0.7013 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.7311, allocations: 0.8472 MB / 0.7021 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.7314, allocations: 107.3 kB / 0.7022 GB, free: 14.65 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.7314, allocations: 0 / 0.7022 GB, free: 14.65 MB / 0.545 GB Notification: Performance of Templates: time 0.02151/0.7529, allocations: 13.62 MB / 0.7155 GB, free: 1.043 MB / 0.545 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/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) Reference file matches