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.001328/0.001328, allocations: 103.6 kB / 21.19 MB, free: 0.6445 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.001471/0.001471, allocations: 218.1 kB / 24.49 MB, free: 3.949 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.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2289/0.2289, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.001983/0.001983, allocations: 71.83 kB / 0.4974 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3684, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2136/0.582, allocations: 161.5 MB / 0.7196 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.5863, allocations: 2.033 MB / 0.7215 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.5869, allocations: 23.86 kB / 0.7216 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.5878, allocations: 290 kB / 0.7218 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.5911, allocations: 1.199 MB / 0.723 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.5929, allocations: 0.6969 MB / 0.7237 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.595, allocations: 1.504 MB / 0.7252 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.5957, allocations: 359.8 kB / 0.7255 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5967, allocations: 0.5917 MB / 0.7261 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.5974, allocations: 458.1 kB / 0.7265 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.5975, allocations: 52 kB / 0.7266 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.5991, allocations: 0.7061 MB / 0.7273 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.5993, allocations: 151.5 kB / 0.7274 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.5996, allocations: 274.8 kB / 0.7277 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.6014, allocations: 1.207 MB / 0.7288 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6014, allocations: 0 / 0.7288 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6014, allocations: 4 kB / 0.7289 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.6014, allocations: 0 / 0.7289 GB, free: 8.512 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.001859/0.6033, allocations: 0.9286 MB / 0.7298 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6033, allocations: 12.03 kB / 0.7298 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.6044, allocations: 135.5 kB / 0.7299 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.6052, allocations: 397.6 kB / 0.7303 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.6053, allocations: 29 kB / 0.7303 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.6053, allocations: 40 kB / 0.7303 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6066, allocations: 0.8566 MB / 0.7312 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.6067, allocations: 0 / 0.7312 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.6067, allocations: 20 kB / 0.7312 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6067, allocations: 12 kB / 0.7312 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008636/0.6076, allocations: 411.6 kB / 0.7316 GB, free: 5.516 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.002886/0.6105, allocations: 1.794 MB / 0.7334 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.6113, allocations: 277.7 kB / 0.7336 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.6115, allocations: 132.8 kB / 0.7337 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.6117, allocations: 51.84 kB / 0.7338 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6118, allocations: 42.56 kB / 0.7338 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.6118, allocations: 0 / 0.7338 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002584/0.6144, allocations: 0.6189 MB / 0.7344 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.6145, allocations: 144.4 kB / 0.7346 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.6149, allocations: 381.6 kB / 0.7349 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.615, allocations: 33.7 kB / 0.735 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.6152, allocations: 284.3 kB / 0.7352 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.6153, allocations: 99.11 kB / 0.7353 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.6155, allocations: 117.6 kB / 0.7355 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6157, allocations: 346.8 kB / 0.7358 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.6161, allocations: 143.9 kB / 0.7359 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.6167, allocations: 348.4 kB / 0.7363 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.6176, allocations: 429.5 kB / 0.7367 GB, free: 60 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6176, allocations: 0 / 0.7367 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.2618/0.8794, allocations: 0.5141 MB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.8794, allocations: 7.234 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8795, allocations: 6.703 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.8818, allocations: 272.6 kB / 0.7374 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.8823, allocations: 104.4 kB / 0.7375 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/0.8832, allocations: 0.6052 MB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.8837, allocations: 38.23 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.8838, allocations: 49.39 kB / 0.7382 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.0002982/0.8841, allocations: 185.2 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8842, allocations: 44.98 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.8864, allocations: 1.018 MB / 0.7394 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8865, allocations: 6.188 kB / 0.7394 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8865, allocations: 1.219 kB / 0.7394 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8865, allocations: 1.969 kB / 0.7394 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.888, allocations: 0.8154 MB / 0.7402 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.888, allocations: 4.828 kB / 0.7402 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.8882, allocations: 56.06 kB / 0.7403 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.89, allocations: 254.3 kB / 0.7405 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.89, allocations: 15.55 kB / 0.7405 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008085/0.8908, allocations: 0.6067 MB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8908, allocations: 3.938 kB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.892, allocations: 0.5038 MB / 0.7416 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.8921, allocations: 37.17 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.8922, allocations: 13.67 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.8926, allocations: 18.61 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.8927, allocations: 29.69 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.8927, allocations: 18.33 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003122/0.893, allocations: 303.2 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.893, allocations: 0 / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007567/0.8938, allocations: 237.6 kB / 0.7423 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.0005137/0.8943, allocations: 278.6 kB / 0.7425 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.8955, allocations: 357.8 kB / 0.7429 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8955, allocations: 0 / 0.7429 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.8963, allocations: 157.5 kB / 0.743 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.001147/0.8974, allocations: 270.5 kB / 0.7433 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.8993, allocations: 0.9292 MB / 0.7442 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.8994, allocations: 247.9 kB / 0.7444 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.8998, allocations: 119.4 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.011e-06/0.8998, allocations: 3.938 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01329/0.9131, allocations: 12.61 MB / 0.7569 GB, free: 159.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/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: 10.597471030981978]