Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.45 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3844/0.4985, allocations: 185.7 MB / 0.6516 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.503, allocations: 2.131 MB / 0.6537 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.5036, allocations: 19.88 kB / 0.6537 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.5045, allocations: 293.9 kB / 0.654 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.5075, allocations: 1.175 MB / 0.6551 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.5092, allocations: 0.6845 MB / 0.6558 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.511, allocations: 1.477 MB / 0.6572 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.5116, allocations: 411.5 kB / 0.6576 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.5124, allocations: 0.5722 MB / 0.6582 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.5129, allocations: 442.1 kB / 0.6586 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.513, allocations: 51.98 kB / 0.6586 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.5146, allocations: 0.7997 MB / 0.6594 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.5147, allocations: 151.5 kB / 0.6596 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003204/0.5151, allocations: 322.5 kB / 0.6599 GB, free: 308 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5165, allocations: 1.208 MB / 0.661 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5165, allocations: 0 / 0.661 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5165, allocations: 0 / 0.661 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.5166, allocations: 0 / 0.661 GB, free: 15.09 MB / 0.4981 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.001621/0.5182, allocations: 0.9895 MB / 0.662 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5182, allocations: 12.92 kB / 0.662 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009735/0.5192, allocations: 137.5 kB / 0.6622 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007366/0.52, allocations: 464.5 kB / 0.6626 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.52, allocations: 32.94 kB / 0.6626 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.5201, allocations: 36 kB / 0.6627 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.521, allocations: 0.5593 MB / 0.6632 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5211, allocations: 0 / 0.6632 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.5211, allocations: 24 kB / 0.6632 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.5211, allocations: 8 kB / 0.6632 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/0.5219, allocations: 415.6 kB / 0.6636 GB, free: 12.31 MB / 0.4981 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.002794/0.5247, allocations: 2.557 MB / 0.6661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.5254, allocations: 294.6 kB / 0.6664 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.5257, allocations: 161 kB / 0.6666 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.526, allocations: 352.4 kB / 0.6669 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.526, allocations: 30.56 kB / 0.6669 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.526, allocations: 0 / 0.6669 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002312/0.5283, allocations: 0.71 MB / 0.6676 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.5284, allocations: 132.5 kB / 0.6678 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.5289, allocations: 453.8 kB / 0.6682 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.529, allocations: 29.7 kB / 0.6682 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5291, allocations: 271.9 kB / 0.6685 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.5292, allocations: 106.5 kB / 0.6686 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.5294, allocations: 101.7 kB / 0.6687 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5295, allocations: 358.8 kB / 0.669 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.5299, allocations: 139.9 kB / 0.6691 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.5304, allocations: 284.2 kB / 0.6694 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.5312, allocations: 421.5 kB / 0.6698 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5312, allocations: 0 / 0.6698 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001183/0.5324, allocations: 0.5248 MB / 0.6703 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5325, allocations: 8 kB / 0.6703 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5325, allocations: 4 kB / 0.6703 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.5345, allocations: 276.8 kB / 0.6706 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5349, allocations: 103.8 kB / 0.6707 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.5358, allocations: 0.5992 MB / 0.6713 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.5363, allocations: 56.52 kB / 0.6713 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/0.5363, allocations: 43.98 kB / 0.6714 GB, free: 3.82 MB / 0.4981 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.0002631/0.5366, allocations: 181.6 kB / 0.6716 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5368, allocations: 51.44 kB / 0.6716 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.5387, allocations: 1.028 MB / 0.6726 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5387, allocations: 0 / 0.6726 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5387, allocations: 0 / 0.6726 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.5388, allocations: 11.92 kB / 0.6726 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.5404, allocations: 0.9702 MB / 0.6736 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5404, allocations: 0 / 0.6736 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5407, allocations: 51.89 kB / 0.6736 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.5424, allocations: 260.6 kB / 0.6739 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.5425, allocations: 15.92 kB / 0.6739 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009133/0.5434, allocations: 0.5991 MB / 0.6745 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5434, allocations: 4.031 kB / 0.6745 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5448, allocations: 0.5116 MB / 0.675 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.5449, allocations: 132.4 kB / 0.6751 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.545, allocations: 15.94 kB / 0.6751 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.5454, allocations: 23.97 kB / 0.6751 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.5455, allocations: 27.91 kB / 0.6752 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.5455, allocations: 11.98 kB / 0.6752 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004368/0.546, allocations: 394.8 kB / 0.6756 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.546, allocations: 0 / 0.6756 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007009/0.5467, allocations: 215.8 kB / 0.6758 GB, free: 15.15 MB / 0.5137 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.0006935/0.5474, allocations: 293.3 kB / 0.676 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.5488, allocations: 368.4 kB / 0.6764 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5488, allocations: 0 / 0.6764 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.5495, allocations: 163.7 kB / 0.6765 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.551, allocations: 348.6 kB / 0.6769 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.553, allocations: 0.8993 MB / 0.6778 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.5535, allocations: 0.8472 MB / 0.6786 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009506/0.5544, allocations: 0.5472 MB / 0.6791 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5547, allocations: 87.38 kB / 0.6792 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/0.5547, allocations: 0 / 0.6792 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.02248/0.5772, allocations: 14.16 MB / 0.693 GB, free: 13.52 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches