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.001913/0.001913, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00241/0.00241, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.248/0.248, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.001999/0.001999, allocations: 67.91 kB / 0.4921 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5349/0.6679, allocations: 186.4 MB / 0.7385 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004823/0.6728, allocations: 2.131 MB / 0.7406 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.6735, allocations: 19.81 kB / 0.7406 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.6745, allocations: 305.9 kB / 0.7409 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.6786, allocations: 1.191 MB / 0.7421 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.6806, allocations: 0.6806 MB / 0.7428 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.6831, allocations: 1.48 MB / 0.7442 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.6838, allocations: 379.8 kB / 0.7446 GB, free: 476 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.6849, allocations: 0.5916 MB / 0.7451 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006908/0.6856, allocations: 458.2 kB / 0.7456 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.6857, allocations: 48 kB / 0.7456 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.6876, allocations: 0.8114 MB / 0.7464 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.6878, allocations: 147.4 kB / 0.7466 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.6884, allocations: 326.5 kB / 0.7469 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.6908, allocations: 1.226 MB / 0.7481 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6908, allocations: 0 / 0.7481 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6908, allocations: 0 / 0.7481 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6908, allocations: 0 / 0.7481 GB, free: 12.87 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.002095/0.6929, allocations: 1 MB / 0.749 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6929, allocations: 12.02 kB / 0.7491 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.6941, allocations: 139.5 kB / 0.7492 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.6949, allocations: 464.8 kB / 0.7496 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.6949, allocations: 37.81 kB / 0.7497 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.695, allocations: 43.98 kB / 0.7497 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6961, allocations: 0.5554 MB / 0.7503 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.6961, allocations: 3.938 kB / 0.7503 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.6962, allocations: 16 kB / 0.7503 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.6962, allocations: 12 kB / 0.7503 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.6971, allocations: 403.6 kB / 0.7507 GB, free: 10.07 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.003441/0.7005, allocations: 2.574 MB / 0.7532 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.7012, allocations: 280.7 kB / 0.7535 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.7015, allocations: 136.8 kB / 0.7536 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/0.7019, allocations: 352.4 kB / 0.7539 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.7019, allocations: 41.19 kB / 0.754 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.7019, allocations: 0 / 0.754 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002686/0.7046, allocations: 0.7136 MB / 0.7547 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7047, allocations: 128.5 kB / 0.7548 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.7053, allocations: 445.9 kB / 0.7552 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.7054, allocations: 29.7 kB / 0.7552 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.7056, allocations: 276.2 kB / 0.7555 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.7057, allocations: 107.1 kB / 0.7556 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.7059, allocations: 105.7 kB / 0.7557 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7061, allocations: 362.8 kB / 0.756 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.7065, allocations: 143.9 kB / 0.7562 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.7071, allocations: 284.2 kB / 0.7564 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.7081, allocations: 421.6 kB / 0.7569 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.7081, allocations: 4 kB / 0.7569 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001635/0.7098, allocations: 0.5251 MB / 0.7574 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7098, allocations: 8 kB / 0.7574 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7098, allocations: 4 kB / 0.7574 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.7119, allocations: 272.8 kB / 0.7576 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.7124, allocations: 111.7 kB / 0.7577 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.7135, allocations: 0.5953 MB / 0.7583 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.7139, allocations: 51.66 kB / 0.7584 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.714, allocations: 47.97 kB / 0.7584 GB, free: 1.594 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.0003236/0.7143, allocations: 187.8 kB / 0.7586 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7145, allocations: 59.67 kB / 0.7587 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.7166, allocations: 1.008 MB / 0.7596 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7167, allocations: 11.98 kB / 0.7597 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.7167, allocations: 0.6875 kB / 0.7597 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7167, allocations: 0 / 0.7597 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.7185, allocations: 0.9714 MB / 0.7606 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.7185, allocations: 0 / 0.7606 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.7188, allocations: 47.91 kB / 0.7606 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.7206, allocations: 261.7 kB / 0.7609 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.7207, allocations: 15.92 kB / 0.7609 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009738/0.7216, allocations: 0.5992 MB / 0.7615 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7216, allocations: 0 / 0.7615 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.7231, allocations: 0.5197 MB / 0.762 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.7232, allocations: 132.7 kB / 0.7621 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.7233, allocations: 11.94 kB / 0.7621 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.7237, allocations: 19.98 kB / 0.7622 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.7238, allocations: 24.78 kB / 0.7622 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.7239, allocations: 23.97 kB / 0.7622 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005472/0.7244, allocations: 386.8 kB / 0.7626 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7244, allocations: 0 / 0.7626 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008047/0.7252, allocations: 219.6 kB / 0.7628 GB, free: 12.94 MB / 0.5762 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.0006421/0.7259, allocations: 290.7 kB / 0.7631 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.7273, allocations: 347.6 kB / 0.7634 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7273, allocations: 4 kB / 0.7634 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007811/0.728, allocations: 148.9 kB / 0.7635 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.7297, allocations: 357.5 kB / 0.7639 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.732, allocations: 0.9515 MB / 0.7648 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.7325, allocations: 0.8433 MB / 0.7656 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.7329, allocations: 119.3 kB / 0.7658 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7329, allocations: 0 / 0.7658 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of Templates: time 0.02072/0.7536, allocations: 13.31 MB / 0.7788 GB, free: 12.57 MB / 0.5919 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: 11.257009728986304]