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.001891/0.001891, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002465/0.002465, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.537/1.537, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2376/0.2376, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.002647/0.002647, allocations: 83.86 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4363, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.7109/1.147, allocations: 186.6 MB / 0.7434 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005165/1.152, allocations: 2.154 MB / 0.7456 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/1.153, allocations: 15.72 kB / 0.7456 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/1.155, allocations: 310.1 kB / 0.7459 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/1.159, allocations: 1.193 MB / 0.747 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/1.162, allocations: 0.6765 MB / 0.7477 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002983/1.165, allocations: 1.486 MB / 0.7491 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008137/1.166, allocations: 360.2 kB / 0.7495 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/1.167, allocations: 0.5852 MB / 0.7501 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/1.168, allocations: 460.6 kB / 0.7505 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/1.168, allocations: 49.56 kB / 0.7505 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/1.17, allocations: 0.8038 MB / 0.7513 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/1.17, allocations: 155.1 kB / 0.7515 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004613/1.17, allocations: 327.3 kB / 0.7518 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002256/1.173, allocations: 1.218 MB / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.173, allocations: 0 / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.936e-06/1.173, allocations: 0 / 0.753 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.173, allocations: 0.8438 kB / 0.753 GB, free: 1.582 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.002162/1.175, allocations: 1.007 MB / 0.754 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.175, allocations: 8.016 kB / 0.754 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/1.176, allocations: 143.2 kB / 0.7541 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/1.177, allocations: 474.7 kB / 0.7546 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.177, allocations: 31.66 kB / 0.7546 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/1.177, allocations: 37.09 kB / 0.7546 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/1.178, allocations: 0.5499 MB / 0.7552 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.178, allocations: 4.125 kB / 0.7552 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/1.178, allocations: 21.97 kB / 0.7552 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.178, allocations: 8.891 kB / 0.7552 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/1.179, allocations: 409.4 kB / 0.7556 GB, free: 16.55 MB / 0.5762 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.003267/1.182, allocations: 2.569 MB / 0.7581 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/1.183, allocations: 286.2 kB / 0.7584 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/1.183, allocations: 132 kB / 0.7585 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/1.183, allocations: 358 kB / 0.7588 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/1.183, allocations: 39.47 kB / 0.7589 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.705e-06/1.183, allocations: 0 / 0.7589 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002385/1.186, allocations: 0.7035 MB / 0.7596 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.186, allocations: 131 kB / 0.7597 GB, free: 14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/1.186, allocations: 447.9 kB / 0.7601 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/1.186, allocations: 29.52 kB / 0.7601 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/1.187, allocations: 277 kB / 0.7604 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.187, allocations: 109.9 kB / 0.7605 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.187, allocations: 104.3 kB / 0.7606 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.187, allocations: 361.9 kB / 0.7609 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/1.187, allocations: 140.4 kB / 0.7611 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/1.188, allocations: 276.1 kB / 0.7613 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/1.189, allocations: 433 kB / 0.7618 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.189, allocations: 0 / 0.7618 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/1.19, allocations: 0.5225 MB / 0.7623 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.19, allocations: 9.156 kB / 0.7623 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.19, allocations: 1.875 kB / 0.7623 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/1.192, allocations: 268.6 kB / 0.7625 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/1.192, allocations: 103.5 kB / 0.7626 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009841/1.193, allocations: 0.6076 MB / 0.7632 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.194, allocations: 51.25 kB / 0.7633 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/1.194, allocations: 51.23 kB / 0.7633 GB, free: 12.41 MB / 0.5762 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.0003302/1.194, allocations: 178.4 kB / 0.7635 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.194, allocations: 51.45 kB / 0.7635 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.196, allocations: 1.027 MB / 0.7645 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/1.196, allocations: 2.438 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.196, allocations: 1.062 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.196, allocations: 2.578 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.198, allocations: 0.9812 MB / 0.7655 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.198, allocations: 0 / 0.7655 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.198, allocations: 50.53 kB / 0.7656 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/1.2, allocations: 258.4 kB / 0.7658 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/1.2, allocations: 10.52 kB / 0.7658 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009635/1.201, allocations: 0.5993 MB / 0.7664 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.201, allocations: 9.672 kB / 0.7664 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.202, allocations: 0.5095 MB / 0.7669 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/1.203, allocations: 136 kB / 0.767 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.203, allocations: 20.77 kB / 0.7671 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/1.203, allocations: 19.53 kB / 0.7671 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.203, allocations: 24.52 kB / 0.7671 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/1.203, allocations: 19.67 kB / 0.7671 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004771/1.204, allocations: 387.8 kB / 0.7675 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.204, allocations: 0 / 0.7675 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008424/1.204, allocations: 223.9 kB / 0.7677 GB, free: 10.77 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.0008832/1.205, allocations: 296.4 kB / 0.768 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.207, allocations: 363.1 kB / 0.7683 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.207, allocations: 2.047 kB / 0.7683 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/1.208, allocations: 150.5 kB / 0.7685 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.209, allocations: 340.8 kB / 0.7688 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/1.211, allocations: 0.916 MB / 0.7697 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/1.212, allocations: 0.8502 MB / 0.7705 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000967/1.213, allocations: 0.5535 MB / 0.7711 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.213, allocations: 96.05 kB / 0.7712 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/1.213, allocations: 3 kB / 0.7712 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.02539/1.238, allocations: 14.49 MB / 0.7853 GB, free: 7.117 MB / 0.5762 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.668177283369005]