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.001365/0.001365, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001541/0.001541, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2398/0.2398, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 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 0.002064/0.002064, allocations: 63.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 66.03 MB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2292/0.6069, allocations: 161.5 MB / 0.7188 GB, free: 2.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.6124, allocations: 2.037 MB / 0.7208 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008178/0.6132, allocations: 23.75 kB / 0.7208 GB, free: 4 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.6145, allocations: 290.1 kB / 0.7211 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.6184, allocations: 1.203 MB / 0.7223 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.6205, allocations: 0.7008 MB / 0.723 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.6229, allocations: 1.5 MB / 0.7244 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008637/0.6237, allocations: 363.8 kB / 0.7248 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.6252, allocations: 0.5839 MB / 0.7254 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009856/0.6261, allocations: 466 kB / 0.7258 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.6263, allocations: 48 kB / 0.7258 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.6281, allocations: 0.7061 MB / 0.7265 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.6284, allocations: 151.5 kB / 0.7267 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.6289, allocations: 278.8 kB / 0.7269 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.6312, allocations: 1.203 MB / 0.7281 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6312, allocations: 4 kB / 0.7281 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6312, allocations: 0 / 0.7281 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.557e-05/0.6313, allocations: 0 / 0.7281 GB, free: 8.523 MB / 0.5606 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.002355/0.6336, allocations: 0.9286 MB / 0.729 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/0.6337, allocations: 12.03 kB / 0.729 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.6348, allocations: 135.5 kB / 0.7292 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.6358, allocations: 397.6 kB / 0.7295 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.6359, allocations: 29 kB / 0.7296 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.636, allocations: 44 kB / 0.7296 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6373, allocations: 0.8488 MB / 0.7304 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.6374, allocations: 0 / 0.7304 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.6374, allocations: 24 kB / 0.7305 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.6374, allocations: 11.98 kB / 0.7305 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/0.6384, allocations: 403.6 kB / 0.7309 GB, free: 5.535 MB / 0.5606 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.002996/0.6414, allocations: 1.806 MB / 0.7326 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.6421, allocations: 270.9 kB / 0.7329 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.6424, allocations: 128.8 kB / 0.733 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.6426, allocations: 51.91 kB / 0.7331 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.6426, allocations: 46.48 kB / 0.7331 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.195e-06/0.6427, allocations: 0 / 0.7331 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002639/0.6453, allocations: 0.6228 MB / 0.7337 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.6454, allocations: 132.5 kB / 0.7338 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.6459, allocations: 385.5 kB / 0.7342 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.646, allocations: 37.64 kB / 0.7342 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6462, allocations: 284.3 kB / 0.7345 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6463, allocations: 103.1 kB / 0.7346 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.6465, allocations: 117.6 kB / 0.7347 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6467, allocations: 346.8 kB / 0.7351 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.6471, allocations: 143.9 kB / 0.7352 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.6476, allocations: 356.4 kB / 0.7355 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.6486, allocations: 421.5 kB / 0.7359 GB, free: 68 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6486, allocations: 0 / 0.7359 GB, free: 68 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.2868/0.9354, allocations: 0.5163 MB / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.9354, allocations: 6.734 kB / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9354, allocations: 3.75 kB / 0.7364 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.9378, allocations: 271.8 kB / 0.7367 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.9383, allocations: 109.2 kB / 0.7368 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009695/0.9393, allocations: 0.597 MB / 0.7374 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.9398, allocations: 42.25 kB / 0.7374 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.9399, allocations: 47.61 kB / 0.7375 GB, free: 175.5 MB / 0.5606 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.0003204/0.9402, allocations: 180.2 kB / 0.7377 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9404, allocations: 48.42 kB / 0.7377 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.9427, allocations: 1.022 MB / 0.7387 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.9427, allocations: 4.219 kB / 0.7387 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9427, allocations: 0 / 0.7387 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9427, allocations: 1.406 kB / 0.7387 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.9443, allocations: 0.8165 MB / 0.7395 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9443, allocations: 3.438 kB / 0.7395 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.9445, allocations: 55.08 kB / 0.7396 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.9463, allocations: 264 kB / 0.7398 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.9463, allocations: 11.58 kB / 0.7398 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008103/0.9472, allocations: 0.6026 MB / 0.7404 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.9472, allocations: 7.906 kB / 0.7404 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.9483, allocations: 0.4989 MB / 0.7409 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.9484, allocations: 40.55 kB / 0.7409 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.9485, allocations: 21.14 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.9489, allocations: 18.69 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.949, allocations: 22.12 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.949, allocations: 21.88 kB / 0.741 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003541/0.9494, allocations: 305 kB / 0.7413 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9494, allocations: 0 / 0.7413 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009601/0.9503, allocations: 231.8 kB / 0.7415 GB, free: 173.6 MB / 0.5606 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.0006037/0.9509, allocations: 285.1 kB / 0.7418 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.9523, allocations: 354.9 kB / 0.7421 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.9523, allocations: 4 kB / 0.7421 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007187/0.953, allocations: 152.6 kB / 0.7423 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.9542, allocations: 259.3 kB / 0.7425 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.9561, allocations: 0.906 MB / 0.7434 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.9563, allocations: 246 kB / 0.7437 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008205/0.9571, allocations: 0.5381 MB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.9574, allocations: 83.39 kB / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.9574, allocations: 0 / 0.7443 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01829/0.9756, allocations: 13.87 MB / 0.7578 GB, free: 157.5 MB / 0.5606 GB " [Timeout remaining time 659] 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.357006520032883]