Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008944/0.0008944, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004324/0.004324, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8938/0.8938, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2563/0.2563, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.469e-05, allocations: 12.75 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3298/0.3298, allocations: 161.4 MB / 0.5907 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.3325, allocations: 2.039 MB / 0.5927 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.3327, allocations: 23.75 kB / 0.5927 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.3333, allocations: 293.9 kB / 0.593 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3351, allocations: 1.228 MB / 0.5942 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.336, allocations: 0.702 MB / 0.5949 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3372, allocations: 1.511 MB / 0.5963 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.3376, allocations: 352.4 kB / 0.5967 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.3382, allocations: 0.7831 MB / 0.5974 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.3386, allocations: 386.8 kB / 0.5978 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.3386, allocations: 52 kB / 0.5979 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.3393, allocations: 0.687 MB / 0.5985 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3395, allocations: 159.4 kB / 0.5987 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3396, allocations: 235.5 kB / 0.5989 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3407, allocations: 1.289 MB / 0.6002 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3407, allocations: 0 / 0.6002 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3407, allocations: 0 / 0.6002 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3407, allocations: 0 / 0.6002 GB, free: 4.961 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.001136/0.3418, allocations: 0.9286 MB / 0.6011 GB, free: 4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3418, allocations: 9.656 kB / 0.6011 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/0.3423, allocations: 143.5 kB / 0.6012 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.3428, allocations: 397.6 kB / 0.6016 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3429, allocations: 33 kB / 0.6016 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.3429, allocations: 36 kB / 0.6017 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.3439, allocations: 0.8528 MB / 0.6025 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3439, allocations: 3.938 kB / 0.6025 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.3439, allocations: 19.94 kB / 0.6025 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3439, allocations: 16 kB / 0.6025 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.3444, allocations: 403.6 kB / 0.6029 GB, free: 1.973 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.001512/0.3459, allocations: 1.796 MB / 0.6047 GB, free: 120 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.3463, allocations: 278 kB / 0.6049 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3465, allocations: 132 kB / 0.6051 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.3466, allocations: 47.95 kB / 0.6051 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3466, allocations: 38.56 kB / 0.6051 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.3466, allocations: 0 / 0.6051 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.001302/0.3479, allocations: 0.6253 MB / 0.6057 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.348, allocations: 140.5 kB / 0.6059 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3482, allocations: 385.5 kB / 0.6063 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3483, allocations: 29.7 kB / 0.6063 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3484, allocations: 280.3 kB / 0.6065 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.3485, allocations: 111 kB / 0.6067 GB, free: 14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3486, allocations: 105.6 kB / 0.6068 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.3487, allocations: 346.8 kB / 0.6071 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3489, allocations: 147.9 kB / 0.6072 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3492, allocations: 351.6 kB / 0.6076 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.3497, allocations: 421.6 kB / 0.608 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3497, allocations: 0 / 0.608 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006905/0.3504, allocations: 0.5253 MB / 0.6085 GB, free: 12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3504, allocations: 8 kB / 0.6085 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3504, allocations: 0 / 0.6085 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.3514, allocations: 276.7 kB / 0.6087 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3516, allocations: 99.88 kB / 0.6088 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009361/0.3525, allocations: 0.6055 MB / 0.6094 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3527, allocations: 43.72 kB / 0.6095 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.3527, allocations: 51.97 kB / 0.6095 GB, free: 10.89 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.0001537/0.3529, allocations: 177.7 kB / 0.6097 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.3529, allocations: 43.7 kB / 0.6097 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3541, allocations: 1.026 MB / 0.6107 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3541, allocations: 3.984 kB / 0.6107 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3541, allocations: 0 / 0.6107 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3541, allocations: 4 kB / 0.6107 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.355, allocations: 0.8328 MB / 0.6116 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.355, allocations: 0 / 0.6116 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3551, allocations: 47.91 kB / 0.6116 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007616/0.3559, allocations: 252.6 kB / 0.6118 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3559, allocations: 19.97 kB / 0.6119 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004823/0.3564, allocations: 0.6082 MB / 0.6125 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3564, allocations: 4.031 kB / 0.6125 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.357, allocations: 0.4896 MB / 0.6129 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3571, allocations: 43.59 kB / 0.613 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.3571, allocations: 19.89 kB / 0.613 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3573, allocations: 20.05 kB / 0.613 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3574, allocations: 23.95 kB / 0.613 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3574, allocations: 23.97 kB / 0.6131 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002176/0.3576, allocations: 303.1 kB / 0.6134 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.6134 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004158/0.358, allocations: 231.5 kB / 0.6136 GB, free: 6.609 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.0004412/0.3584, allocations: 295.2 kB / 0.6139 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.3592, allocations: 356 kB / 0.6142 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3592, allocations: 4 kB / 0.6142 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.3596, allocations: 149 kB / 0.6143 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.3603, allocations: 267.9 kB / 0.6146 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3615, allocations: 0.9024 MB / 0.6155 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3617, allocations: 246 kB / 0.6157 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.3619, allocations: 120.4 kB / 0.6158 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.3619, allocations: 0 / 0.6158 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of Templates: time 0.01035/0.3723, allocations: 12.66 MB / 0.6282 GB, free: 7.66 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.6369212763383985]