Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 116.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.3 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 83.86 kB / 0.4925 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 66 MB / 0.557 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5194/0.6553, allocations: 186.4 MB / 0.739 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.6597, allocations: 2.135 MB / 0.7411 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.6604, allocations: 31.75 kB / 0.7411 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009554/0.6613, allocations: 298 kB / 0.7414 GB, free: 4.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.665, allocations: 1.197 MB / 0.7426 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6669, allocations: 0.6684 MB / 0.7432 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.6692, allocations: 1.477 MB / 0.7446 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.6698, allocations: 375.8 kB / 0.745 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.6709, allocations: 0.5956 MB / 0.7456 GB, free: 68 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.6715, allocations: 470 kB / 0.746 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.6716, allocations: 48 kB / 0.7461 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.6735, allocations: 0.8136 MB / 0.7469 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.6737, allocations: 147.4 kB / 0.747 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.6741, allocations: 326.5 kB / 0.7473 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.6761, allocations: 1.222 MB / 0.7485 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6761, allocations: 0 / 0.7485 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6761, allocations: 0 / 0.7485 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.6761, allocations: 4 kB / 0.7485 GB, free: 13.05 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.001911/0.678, allocations: 1.008 MB / 0.7495 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6781, allocations: 8.031 kB / 0.7495 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6791, allocations: 131.5 kB / 0.7496 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.6799, allocations: 464.9 kB / 0.7501 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.6799, allocations: 36.94 kB / 0.7501 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.68, allocations: 40 kB / 0.7502 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.6811, allocations: 0.5515 MB / 0.7507 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6811, allocations: 8 kB / 0.7507 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6811, allocations: 16 kB / 0.7507 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.6812, allocations: 12 kB / 0.7507 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.682, allocations: 410.9 kB / 0.7511 GB, free: 10.27 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.003244/0.6853, allocations: 2.577 MB / 0.7536 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.686, allocations: 279.5 kB / 0.7539 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.6863, allocations: 132.8 kB / 0.754 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/0.6867, allocations: 352.4 kB / 0.7544 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6867, allocations: 34.56 kB / 0.7544 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.6867, allocations: 4 kB / 0.7544 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002601/0.6893, allocations: 0.7058 MB / 0.7551 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.6894, allocations: 132.5 kB / 0.7552 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.6899, allocations: 445.9 kB / 0.7556 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.69, allocations: 33.7 kB / 0.7557 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.6902, allocations: 276.2 kB / 0.7559 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.6903, allocations: 107.1 kB / 0.756 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.6905, allocations: 109.6 kB / 0.7562 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6907, allocations: 354.8 kB / 0.7565 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.6911, allocations: 147.9 kB / 0.7566 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.6916, allocations: 280.3 kB / 0.7569 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.6926, allocations: 425.6 kB / 0.7573 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.6926, allocations: 0 / 0.7573 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001349/0.694, allocations: 0.5254 MB / 0.7578 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.694, allocations: 14.09 kB / 0.7578 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.694, allocations: 4 kB / 0.7578 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.6961, allocations: 276.3 kB / 0.7581 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.6965, allocations: 99.88 kB / 0.7582 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009726/0.6975, allocations: 0.603 MB / 0.7588 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.6979, allocations: 51.66 kB / 0.7588 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.698, allocations: 47.97 kB / 0.7589 GB, free: 1.785 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.0002993/0.6983, allocations: 181.6 kB / 0.759 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6984, allocations: 55.73 kB / 0.7591 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.7005, allocations: 1.014 MB / 0.7601 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.7006, allocations: 4 kB / 0.7601 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7006, allocations: 0 / 0.7601 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.7006, allocations: 0 / 0.7601 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.7024, allocations: 0.979 MB / 0.7611 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7024, allocations: 4 kB / 0.7611 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.7026, allocations: 47.95 kB / 0.7611 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.7045, allocations: 256.6 kB / 0.7613 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.7045, allocations: 23.86 kB / 0.7614 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009541/0.7054, allocations: 0.5914 MB / 0.7619 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7054, allocations: 4.062 kB / 0.762 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.7068, allocations: 0.5119 MB / 0.7625 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.707, allocations: 132.7 kB / 0.7626 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/0.7071, allocations: 11.94 kB / 0.7626 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.7075, allocations: 15.98 kB / 0.7626 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.7076, allocations: 27.89 kB / 0.7626 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.7076, allocations: 20.67 kB / 0.7627 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005474/0.7082, allocations: 390.8 kB / 0.763 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7082, allocations: 0 / 0.763 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007943/0.709, allocations: 223.6 kB / 0.7632 GB, free: 13.13 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.0006302/0.7096, allocations: 285.7 kB / 0.7635 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.711, allocations: 360.5 kB / 0.7639 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7111, allocations: 0 / 0.7639 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007509/0.7118, allocations: 154.8 kB / 0.764 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.7136, allocations: 345.1 kB / 0.7643 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.7158, allocations: 0.9515 MB / 0.7653 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.7163, allocations: 0.8394 MB / 0.7661 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.7167, allocations: 127.3 kB / 0.7662 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7167, allocations: 0 / 0.7662 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Templates: time 0.02022/0.7369, allocations: 13.33 MB / 0.7792 GB, free: 12.75 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.645584120007697]