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.001645/0.001645, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001814/0.001814, allocations: 205.2 kB / 23.74 MB, free: 4.543 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.511/1.511, allocations: 207.7 MB / 234.6 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.237/0.237, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [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.002341/0.002341, allocations: 67.91 kB / 468.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1343, allocations: 61.05 MB / 0.5174 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5228/0.6571, allocations: 164.7 MB / 0.6783 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008421/0.6655, allocations: 2.045 MB / 0.6803 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009293/0.6664, allocations: 19.81 kB / 0.6803 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.6683, allocations: 290 kB / 0.6806 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008183/0.6765, allocations: 1.432 MB / 0.682 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.6803, allocations: 0.6969 MB / 0.6827 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003953/0.6843, allocations: 1.488 MB / 0.6841 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.6854, allocations: 359.7 kB / 0.6844 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.6878, allocations: 0.5761 MB / 0.685 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.6892, allocations: 442 kB / 0.6854 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.6893, allocations: 48 kB / 0.6855 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.6933, allocations: 0.8737 MB / 0.6863 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.6936, allocations: 155.4 kB / 0.6865 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006073/0.6942, allocations: 278.8 kB / 0.6867 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.6981, allocations: 1.308 MB / 0.688 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.6981, allocations: 0 / 0.688 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6981, allocations: 0 / 0.688 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.6981, allocations: 4 kB / 0.688 GB, free: 3.105 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.003437/0.7016, allocations: 0.9751 MB / 0.689 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.7016, allocations: 8.031 kB / 0.689 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.7037, allocations: 135.5 kB / 0.6891 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.7053, allocations: 409.6 kB / 0.6895 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.7053, allocations: 33 kB / 0.6895 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.7054, allocations: 36 kB / 0.6896 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.7076, allocations: 0.8527 MB / 0.6904 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.7077, allocations: 3.938 kB / 0.6904 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/0.7078, allocations: 23.94 kB / 0.6904 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.7078, allocations: 8 kB / 0.6904 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.7094, allocations: 407.6 kB / 0.6908 GB, free: 72 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.004997/0.7144, allocations: 1.829 MB / 0.6926 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.7156, allocations: 267.1 kB / 0.6929 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.7161, allocations: 138 kB / 0.693 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.7178, allocations: 398.2 kB / 0.6934 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/0.7179, allocations: 38.56 kB / 0.6934 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 4.108e-06/0.7179, allocations: 4 kB / 0.6934 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.004312/0.7222, allocations: 0.6189 MB / 0.694 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.7223, allocations: 136.5 kB / 0.6942 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.7232, allocations: 381.6 kB / 0.6945 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.7233, allocations: 33.64 kB / 0.6946 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.7237, allocations: 296.3 kB / 0.6948 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.7239, allocations: 95.17 kB / 0.6949 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.7241, allocations: 101.6 kB / 0.695 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.7244, allocations: 350.8 kB / 0.6954 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.7251, allocations: 143.9 kB / 0.6955 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.7261, allocations: 348.3 kB / 0.6958 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7278, allocations: 424.6 kB / 0.6962 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.7279, allocations: 4 kB / 0.6962 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002475/0.7303, allocations: 0.5185 MB / 0.6967 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.7304, allocations: 4 kB / 0.6967 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7304, allocations: 4 kB / 0.6967 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/0.7339, allocations: 276.6 kB / 0.697 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.7346, allocations: 104.6 kB / 0.6971 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7364, allocations: 0.5992 MB / 0.6977 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7371, allocations: 43.72 kB / 0.6977 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.7372, allocations: 47.98 kB / 0.6978 GB, free: 8.625 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.000493/0.7377, allocations: 181.6 kB / 0.698 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.738, allocations: 47.72 kB / 0.698 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.7409, allocations: 0.6584 MB / 0.6986 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7409, allocations: 4 kB / 0.6987 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.7409, allocations: 0 / 0.6987 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.7409, allocations: 3.984 kB / 0.6987 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.744, allocations: 0.8306 MB / 0.6995 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.744, allocations: 4 kB / 0.6995 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.7444, allocations: 47.95 kB / 0.6995 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/0.7476, allocations: 260.5 kB / 0.6998 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.7477, allocations: 19.98 kB / 0.6998 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.7493, allocations: 0.6069 MB / 0.7004 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7493, allocations: 0 / 0.7004 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.7518, allocations: 0.4922 MB / 0.7009 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.752, allocations: 43.69 kB / 0.7009 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.7522, allocations: 17.08 kB / 0.7009 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/0.7528, allocations: 23.98 kB / 0.7009 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.753, allocations: 27.83 kB / 0.701 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.753, allocations: 23.97 kB / 0.701 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007076/0.7537, allocations: 303.1 kB / 0.7013 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7537, allocations: 0 / 0.7013 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00147/0.7552, allocations: 267.4 kB / 0.7015 GB, free: 4.641 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.001446/0.7567, allocations: 370.8 kB / 0.7019 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.7591, allocations: 364.3 kB / 0.7022 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7591, allocations: 4 kB / 0.7022 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.7605, allocations: 147.8 kB / 0.7024 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.7629, allocations: 270.4 kB / 0.7026 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.767, allocations: 0.9218 MB / 0.7035 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.7674, allocations: 250 kB / 0.7038 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.768, allocations: 95.33 kB / 0.7039 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.768, allocations: 0 / 0.7039 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of Templates: time 0.03539/0.8034, allocations: 12.95 MB / 0.7165 GB, free: 5.234 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (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) [Timeout 480] 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: 10.189548972062767]