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.001646/0.001646, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00203/0.00203, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.533/1.533, 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.2357/0.2357, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.002066/0.002066, allocations: 67.91 kB / 0.4974 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3116, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2024/0.514, allocations: 161.5 MB / 0.7196 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.5181, allocations: 2.03 MB / 0.7216 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.5186, allocations: 23.75 kB / 0.7216 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.5195, allocations: 289.9 kB / 0.7219 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.5226, allocations: 1.207 MB / 0.723 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5244, allocations: 0.6808 MB / 0.7237 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.5262, allocations: 1.496 MB / 0.7252 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005524/0.5268, allocations: 363.7 kB / 0.7255 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009305/0.5277, allocations: 0.5916 MB / 0.7261 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.5284, allocations: 434.1 kB / 0.7265 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.5285, allocations: 48 kB / 0.7265 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.53, allocations: 0.6787 MB / 0.7272 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.5301, allocations: 155.5 kB / 0.7274 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.5305, allocations: 278.8 kB / 0.7276 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.5323, allocations: 1.203 MB / 0.7288 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.5323, allocations: 8 kB / 0.7288 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5323, allocations: 0 / 0.7288 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.5323, allocations: 0 / 0.7288 GB, free: 8.555 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.001806/0.5341, allocations: 0.9286 MB / 0.7297 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5342, allocations: 12.03 kB / 0.7297 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/0.5351, allocations: 135.5 kB / 0.7298 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.5359, allocations: 397.6 kB / 0.7302 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.5359, allocations: 29 kB / 0.7303 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.536, allocations: 40 kB / 0.7303 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.5372, allocations: 0.8566 MB / 0.7311 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5373, allocations: 0 / 0.7311 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.5373, allocations: 20 kB / 0.7311 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5373, allocations: 12 kB / 0.7312 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.5382, allocations: 407.6 kB / 0.7315 GB, free: 5.566 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.00262/0.5408, allocations: 1.806 MB / 0.7333 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.5414, allocations: 266.9 kB / 0.7336 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.5417, allocations: 136.8 kB / 0.7337 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.5419, allocations: 43.97 kB / 0.7337 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.5419, allocations: 42.5 kB / 0.7338 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.5419, allocations: 0 / 0.7338 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002331/0.5442, allocations: 0.6189 MB / 0.7344 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.5443, allocations: 132.5 kB / 0.7345 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.5448, allocations: 381.5 kB / 0.7349 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.5448, allocations: 41.64 kB / 0.7349 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.545, allocations: 288.3 kB / 0.7352 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5452, allocations: 107 kB / 0.7353 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.5453, allocations: 113.6 kB / 0.7354 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.5455, allocations: 346.8 kB / 0.7357 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.5459, allocations: 143.9 kB / 0.7359 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.5464, allocations: 352.4 kB / 0.7362 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.5473, allocations: 421.6 kB / 0.7366 GB, free: 108 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5473, allocations: 0 / 0.7366 GB, free: 108 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.2661/0.8134, allocations: 0.5188 MB / 0.7371 GB, free: 176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.8134, allocations: 6.625 kB / 0.7371 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.8134, allocations: 3.438 kB / 0.7371 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.8155, allocations: 277.9 kB / 0.7374 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.816, allocations: 101.4 kB / 0.7375 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007873/0.8168, allocations: 0.6014 MB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.8172, allocations: 39.98 kB / 0.7381 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.8173, allocations: 51.42 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.0002677/0.8175, allocations: 178 kB / 0.7383 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.8177, allocations: 48.09 kB / 0.7384 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.8198, allocations: 1.021 MB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8198, allocations: 2.938 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8198, allocations: 1.281 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.8198, allocations: 4.922 kB / 0.7394 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.8213, allocations: 0.823 MB / 0.7402 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8213, allocations: 1.188 kB / 0.7402 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.8215, allocations: 54.39 kB / 0.7402 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.8231, allocations: 261.8 kB / 0.7405 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.8232, allocations: 11.58 kB / 0.7405 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006995/0.8239, allocations: 0.6055 MB / 0.7411 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8239, allocations: 3.938 kB / 0.7411 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.8249, allocations: 0.4931 MB / 0.7416 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.825, allocations: 44.59 kB / 0.7416 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.8251, allocations: 13.59 kB / 0.7416 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.8254, allocations: 18.69 kB / 0.7416 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.8255, allocations: 20.77 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.8255, allocations: 22.77 kB / 0.7417 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002834/0.8258, allocations: 304.7 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8258, allocations: 0 / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006951/0.8265, allocations: 235.1 kB / 0.7422 GB, free: 173.5 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.000463/0.827, allocations: 298 kB / 0.7425 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.8281, allocations: 353 kB / 0.7428 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8281, allocations: 4 kB / 0.7428 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.8288, allocations: 154.2 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.001217/0.83, allocations: 265.6 kB / 0.7432 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.8318, allocations: 0.9305 MB / 0.7441 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.8319, 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.0003224/0.8323, allocations: 123.2 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.8323, allocations: 3.938 kB / 0.7445 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01328/0.8455, allocations: 12.61 MB / 0.7568 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.575914870016277]