Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009144/0.0009144, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004058/0.004058, allocations: 158 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8779/0.8779, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 443.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.22e-05, allocations: 2.281 kB / 443.5 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3141/0.3142, allocations: 161.4 MB / 0.5907 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3169, allocations: 2.035 MB / 0.5927 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.3171, allocations: 23.81 kB / 0.5927 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.3177, allocations: 293.8 kB / 0.593 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3196, allocations: 1.236 MB / 0.5942 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.321, allocations: 0.6984 MB / 0.5949 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3221, allocations: 1.507 MB / 0.5963 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.3225, allocations: 345.3 kB / 0.5967 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.3233, allocations: 0.7831 MB / 0.5974 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.3237, allocations: 398.7 kB / 0.5978 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.3237, allocations: 48 kB / 0.5979 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3247, allocations: 0.6823 MB / 0.5985 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3248, allocations: 159.3 kB / 0.5987 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.325, allocations: 239 kB / 0.5989 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3261, allocations: 1.293 MB / 0.6002 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3261, allocations: 0 / 0.6002 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3261, allocations: 0 / 0.6002 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3261, allocations: 4 kB / 0.6002 GB, free: 5.117 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.001195/0.3273, allocations: 0.9247 MB / 0.6011 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3273, allocations: 8.031 kB / 0.6011 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.3278, allocations: 139.5 kB / 0.6012 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.3285, allocations: 398.2 kB / 0.6016 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3285, allocations: 29 kB / 0.6016 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3286, allocations: 40 kB / 0.6017 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.3293, allocations: 0.8567 MB / 0.6025 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3293, allocations: 0 / 0.6025 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.3294, allocations: 23.94 kB / 0.6025 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3294, allocations: 8 kB / 0.6025 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.3299, allocations: 407.6 kB / 0.6029 GB, free: 2.133 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.001519/0.3314, allocations: 1.795 MB / 0.6047 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3318, allocations: 276 kB / 0.6049 GB, free: 4 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3319, allocations: 144.2 kB / 0.6051 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.3321, allocations: 47.97 kB / 0.6051 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3321, allocations: 38.56 kB / 0.6052 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.3321, allocations: 0 / 0.6052 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.00131/0.3334, allocations: 0.6292 MB / 0.6058 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3335, allocations: 132.5 kB / 0.6059 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.3337, allocations: 385.5 kB / 0.6063 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3338, allocations: 29.7 kB / 0.6063 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3339, allocations: 284.3 kB / 0.6066 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.3339, allocations: 103.1 kB / 0.6067 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.334, allocations: 109.5 kB / 0.6068 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.3341, allocations: 350.8 kB / 0.6071 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3344, allocations: 143.9 kB / 0.6072 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.3347, allocations: 351.6 kB / 0.6076 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.3352, allocations: 421.5 kB / 0.608 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3352, allocations: 0 / 0.608 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007824/0.336, allocations: 0.5251 MB / 0.6085 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.336, allocations: 10.06 kB / 0.6085 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.336, allocations: 4 kB / 0.6085 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/0.3369, allocations: 272.9 kB / 0.6088 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.3371, allocations: 107.8 kB / 0.6089 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.3377, allocations: 0.5992 MB / 0.6095 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3378, allocations: 43.72 kB / 0.6095 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.3379, allocations: 55.95 kB / 0.6096 GB, free: 11.05 MB / 0.5105 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.0001562/0.338, allocations: 174.9 kB / 0.6097 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3381, allocations: 43.7 kB / 0.6098 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3393, allocations: 1.017 MB / 0.6108 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3393, allocations: 4 kB / 0.6108 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3393, allocations: 0 / 0.6108 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3393, allocations: 7.984 kB / 0.6108 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.3402, allocations: 0.8189 MB / 0.6116 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3402, allocations: 0 / 0.6116 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3403, allocations: 51.89 kB / 0.6116 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007689/0.3411, allocations: 260.6 kB / 0.6119 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3411, allocations: 11.98 kB / 0.6119 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/0.3416, allocations: 0.6108 MB / 0.6125 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3416, allocations: 0 / 0.6125 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.3422, allocations: 0.5061 MB / 0.613 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.3423, allocations: 43.64 kB / 0.613 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.3423, allocations: 11.95 kB / 0.613 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3425, allocations: 15.98 kB / 0.613 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.3425, allocations: 23.95 kB / 0.6131 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3425, allocations: 15.98 kB / 0.6131 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002155/0.3428, allocations: 311.1 kB / 0.6134 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3428, allocations: 0 / 0.6134 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004509/0.3432, allocations: 227.5 kB / 0.6136 GB, free: 6.773 MB / 0.5105 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.00043/0.3436, allocations: 306.6 kB / 0.6139 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.3444, allocations: 355.6 kB / 0.6142 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3444, allocations: 3.938 kB / 0.6142 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.3448, allocations: 158.7 kB / 0.6144 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.3455, allocations: 267.1 kB / 0.6146 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3469, allocations: 0.907 MB / 0.6155 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3471, allocations: 242 kB / 0.6157 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.3473, allocations: 120.4 kB / 0.6159 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.3473, allocations: 0 / 0.6159 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of Templates: time 0.01054/0.3578, allocations: 12.64 MB / 0.6282 GB, free: 7.816 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.782042461447418]