Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001175/0.001175, allocations: 83.62 kB / 21.43 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.004734/0.004734, allocations: 159.5 kB / 24.7 MB, free: 8.359 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.8795/0.8795, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2509/0.2509, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 440.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.325e-05, allocations: 8.609 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3386/0.3386, allocations: 161.4 MB / 0.5882 GB, free: 2.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3417, allocations: 2.047 MB / 0.5902 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.3419, allocations: 23.81 kB / 0.5902 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.3426, allocations: 293.8 kB / 0.5905 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.3449, allocations: 1.236 MB / 0.5917 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.346, allocations: 0.7076 MB / 0.5924 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3471, allocations: 1.503 MB / 0.5938 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.3475, allocations: 341.4 kB / 0.5942 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.3481, allocations: 0.7791 MB / 0.5949 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003507/0.3485, allocations: 394.9 kB / 0.5953 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.3485, allocations: 48 kB / 0.5953 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000847/0.3494, allocations: 0.6901 MB / 0.596 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3495, allocations: 159.4 kB / 0.5962 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.3496, allocations: 235.4 kB / 0.5964 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3508, allocations: 1.293 MB / 0.5977 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3508, allocations: 0 / 0.5977 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3508, allocations: 0 / 0.5977 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3508, allocations: 0 / 0.5977 GB, free: 9.168 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.001597/0.3524, allocations: 0.9247 MB / 0.5986 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3524, allocations: 8.031 kB / 0.5986 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.3529, allocations: 147.5 kB / 0.5987 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.3535, allocations: 402.1 kB / 0.5991 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3535, allocations: 29 kB / 0.5991 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.3536, allocations: 36 kB / 0.5991 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.3543, allocations: 0.8528 MB / 0.6 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3543, allocations: 7.984 kB / 0.6 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3544, allocations: 23.94 kB / 0.6 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3544, allocations: 11.98 kB / 0.6 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.3549, allocations: 407.6 kB / 0.6004 GB, free: 6.168 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.001612/0.3565, allocations: 1.789 MB / 0.6022 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.3569, allocations: 278.1 kB / 0.6024 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3571, allocations: 140.8 kB / 0.6026 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.3572, allocations: 47.95 kB / 0.6026 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3572, allocations: 38.56 kB / 0.6026 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 2.325e-06/0.3573, allocations: 0 / 0.6026 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.001383/0.3586, allocations: 0.6255 MB / 0.6033 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.3587, allocations: 132.5 kB / 0.6034 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.359, allocations: 381.5 kB / 0.6037 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.359, allocations: 33.7 kB / 0.6038 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3592, allocations: 284.3 kB / 0.604 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.3592, allocations: 107 kB / 0.6041 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3594, allocations: 105.6 kB / 0.6042 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3595, allocations: 350.8 kB / 0.6046 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3597, allocations: 143.9 kB / 0.6047 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.36, allocations: 355.6 kB / 0.6051 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009174/0.3609, allocations: 421.5 kB / 0.6055 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3609, allocations: 0 / 0.6055 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007278/0.3617, allocations: 0.528 MB / 0.606 GB, free: 196 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3617, allocations: 8 kB / 0.606 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3617, allocations: 7.938 kB / 0.606 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3627, allocations: 270.2 kB / 0.6062 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3629, allocations: 99.88 kB / 0.6063 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/0.3635, allocations: 0.603 MB / 0.6069 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3636, allocations: 43.72 kB / 0.607 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3637, allocations: 47.97 kB / 0.607 GB, free: 15.09 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.0001693/0.3639, allocations: 174.9 kB / 0.6072 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3639, allocations: 47.7 kB / 0.6072 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3652, allocations: 1.032 MB / 0.6082 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3652, allocations: 4 kB / 0.6082 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3652, allocations: 3.984 kB / 0.6082 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3652, allocations: 0 / 0.6082 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.3661, allocations: 0.8189 MB / 0.609 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3661, allocations: 5.859 kB / 0.6091 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3662, allocations: 47.91 kB / 0.6091 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007765/0.367, allocations: 256.6 kB / 0.6093 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.367, allocations: 11.98 kB / 0.6094 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005162/0.3676, allocations: 0.6095 MB / 0.6099 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3676, allocations: 3.938 kB / 0.61 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.3683, allocations: 496.3 kB / 0.6104 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3683, allocations: 51.64 kB / 0.6105 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.3684, allocations: 15.95 kB / 0.6105 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3685, allocations: 15.98 kB / 0.6105 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.3686, allocations: 27.89 kB / 0.6105 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3686, allocations: 19.97 kB / 0.6106 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002265/0.3688, allocations: 303.1 kB / 0.6108 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3688, allocations: 0 / 0.6108 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005045/0.3693, allocations: 235.5 kB / 0.6111 GB, free: 10.81 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.000476/0.3698, allocations: 299.7 kB / 0.6114 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.3706, allocations: 371.4 kB / 0.6117 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3706, allocations: 0 / 0.6117 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.371, allocations: 148.8 kB / 0.6118 GB, free: 10 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.3717, allocations: 268.5 kB / 0.6121 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3734, allocations: 0.8957 MB / 0.613 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.3735, allocations: 242 kB / 0.6132 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.3737, allocations: 120.4 kB / 0.6133 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of SimCode: time 6.42e-07/0.3737, allocations: 0 / 0.6133 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of Templates: time 0.01139/0.3851, allocations: 12.64 MB / 0.6257 GB, free: 11.86 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.068528131581843]