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.001759/0.001759, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002171/0.002171, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2302/0.2302, 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.00267/0.00267, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3086, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.1946/0.5032, allocations: 161.5 MB / 0.7196 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004068/0.5073, allocations: 2.026 MB / 0.7215 GB, free: 20 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.5078, allocations: 27.86 kB / 0.7216 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.5086, allocations: 286 kB / 0.7218 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.5115, allocations: 1.214 MB / 0.723 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.5132, allocations: 0.6926 MB / 0.7237 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.515, allocations: 1.496 MB / 0.7252 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.5155, allocations: 363.8 kB / 0.7255 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.5164, allocations: 0.5916 MB / 0.7261 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000607/0.517, allocations: 462.1 kB / 0.7265 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.309e-05/0.5171, allocations: 48 kB / 0.7266 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5185, allocations: 0.7061 MB / 0.7273 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.5187, allocations: 151.4 kB / 0.7274 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.519, allocations: 282.8 kB / 0.7277 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.5205, allocations: 1.203 MB / 0.7289 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5205, allocations: 0 / 0.7289 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5205, allocations: 0 / 0.7289 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.5205, allocations: 0 / 0.7289 GB, free: 8.516 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.002053/0.5226, allocations: 0.9325 MB / 0.7298 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5226, allocations: 8.031 kB / 0.7298 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5237, allocations: 135.5 kB / 0.7299 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.5247, allocations: 401.6 kB / 0.7303 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.5247, allocations: 29 kB / 0.7303 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.5248, allocations: 43.98 kB / 0.7304 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.5261, allocations: 0.8527 MB / 0.7312 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5262, allocations: 4 kB / 0.7312 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.5262, allocations: 20 kB / 0.7312 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5262, allocations: 15.94 kB / 0.7312 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.5271, allocations: 407.6 kB / 0.7316 GB, free: 5.512 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.002718/0.5298, allocations: 1.798 MB / 0.7334 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.5305, allocations: 266.9 kB / 0.7336 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.5308, allocations: 136.8 kB / 0.7338 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.531, allocations: 47.91 kB / 0.7338 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.531, allocations: 38.56 kB / 0.7338 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.531, allocations: 0 / 0.7338 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002622/0.5337, allocations: 0.6189 MB / 0.7344 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.5337, allocations: 132.5 kB / 0.7346 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.5342, allocations: 389.4 kB / 0.7349 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.5342, allocations: 41.69 kB / 0.735 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5344, allocations: 284.3 kB / 0.7353 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.5345, allocations: 103.1 kB / 0.7354 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.5347, allocations: 113.6 kB / 0.7355 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5349, allocations: 346.8 kB / 0.7358 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.5353, allocations: 143.9 kB / 0.7359 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.5359, allocations: 348.4 kB / 0.7363 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.5369, allocations: 429.5 kB / 0.7367 GB, free: 60 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5369, allocations: 7.938 kB / 0.7367 GB, free: 52 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.2333/0.7702, allocations: 0.5095 MB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.7702, allocations: 6.656 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7702, allocations: 4.156 kB / 0.7372 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.7727, allocations: 274.6 kB / 0.7374 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.7731, allocations: 104.7 kB / 0.7375 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009184/0.7741, allocations: 0.5965 MB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.7745, allocations: 40.08 kB / 0.7382 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.7746, allocations: 47.17 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.0002663/0.7749, allocations: 186 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.775, allocations: 48.27 kB / 0.7384 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.7772, allocations: 1.014 MB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7772, allocations: 4.703 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7772, allocations: 0 / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7772, allocations: 6.031 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7787, allocations: 0.8214 MB / 0.7402 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7787, allocations: 3.969 kB / 0.7402 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.779, allocations: 54.28 kB / 0.7403 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.7809, allocations: 256.9 kB / 0.7405 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.7809, allocations: 16.72 kB / 0.7406 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008223/0.7817, allocations: 0.5999 MB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7817, allocations: 3.938 kB / 0.7411 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7829, allocations: 0.4992 MB / 0.7416 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.783, allocations: 36.09 kB / 0.7417 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.7831, allocations: 17.48 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.7835, allocations: 19.75 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.7836, allocations: 24.98 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.7836, allocations: 17.69 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002872/0.7839, allocations: 304.4 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7839, allocations: 1.156 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007181/0.7846, allocations: 230.5 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.0004962/0.7851, allocations: 297.1 kB / 0.7425 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.7864, allocations: 352.9 kB / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7864, allocations: 0 / 0.7429 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.7872, allocations: 162.9 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.001209/0.7885, allocations: 267.3 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.001889/0.7903, allocations: 0.8958 MB / 0.7442 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.7905, allocations: 250.3 kB / 0.7444 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007551/0.7913, allocations: 0.5345 MB / 0.7449 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.7915, allocations: 83.38 kB / 0.745 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.7915, allocations: 0 / 0.745 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01719/0.8087, allocations: 13.85 MB / 0.7585 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 -s gbode -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: 5.947903785010567]