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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 104.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3319/0.3319, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 62.01 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5584/0.899, allocations: 180.9 MB / 0.6918 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.9045, allocations: 2.232 MB / 0.694 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.9056, allocations: 25.31 kB / 0.694 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009661/0.9066, allocations: 247.5 kB / 0.6942 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.9096, allocations: 1.048 MB / 0.6953 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.9113, allocations: 0.613 MB / 0.6959 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.9136, allocations: 1.983 MB / 0.6978 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.9141, allocations: 364.5 kB / 0.6981 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.9149, allocations: 0.5092 MB / 0.6986 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.9154, allocations: 457.5 kB / 0.6991 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.9155, allocations: 32.78 kB / 0.6991 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.9171, allocations: 0.7122 MB / 0.6998 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.9173, allocations: 137.9 kB / 0.6999 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.9177, allocations: 313.6 kB / 0.7002 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.9195, allocations: 1.185 MB / 0.7014 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.9195, allocations: 1.688 kB / 0.7014 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9195, allocations: 0 / 0.7014 GB, free: 1.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.9196, allocations: 1.094 kB / 0.7014 GB, free: 1.477 MB / 490.7 MB 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.002066/0.9216, allocations: 0.9946 MB / 0.7024 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9217, allocations: 10 kB / 0.7024 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009648/0.9227, allocations: 132.7 kB / 0.7025 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.9234, allocations: 445.6 kB / 0.7029 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.9234, allocations: 30.84 kB / 0.703 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.9235, allocations: 40.38 kB / 0.703 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.9246, allocations: 0.553 MB / 0.7035 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.9247, allocations: 4.25 kB / 0.7035 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.9247, allocations: 22.94 kB / 0.7036 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.9248, allocations: 11.81 kB / 0.7036 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.9257, allocations: 406.9 kB / 0.704 GB, free: 16.46 MB / 0.4948 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.003165/0.9288, allocations: 2.568 MB / 0.7065 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/0.9295, allocations: 292.3 kB / 0.7067 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.9298, allocations: 151.1 kB / 0.7069 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.9302, allocations: 359.3 kB / 0.7072 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.9302, allocations: 36.56 kB / 0.7073 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.9302, allocations: 0 / 0.7073 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.002319/0.9326, allocations: 0.7004 MB / 0.708 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.9327, allocations: 135 kB / 0.7081 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.9331, allocations: 447.9 kB / 0.7085 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.9332, allocations: 33.28 kB / 0.7085 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.9334, allocations: 276.4 kB / 0.7088 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.9335, allocations: 103 kB / 0.7089 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.9337, allocations: 106.3 kB / 0.709 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9338, allocations: 363.2 kB / 0.7094 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.9342, allocations: 141.5 kB / 0.7095 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.9346, allocations: 278.9 kB / 0.7098 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.9355, allocations: 417.9 kB / 0.7102 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9355, allocations: 1.094 kB / 0.7102 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001224/0.9367, allocations: 0.5279 MB / 0.7107 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9367, allocations: 6.438 kB / 0.7107 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.9367, allocations: 5.281 kB / 0.7107 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/0.9387, allocations: 276.6 kB / 0.7109 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.9392, allocations: 104.8 kB / 0.711 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/0.94, allocations: 0.6014 MB / 0.7116 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.9406, allocations: 57.64 kB / 0.7117 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.9407, allocations: 51.7 kB / 0.7117 GB, free: 12.27 MB / 0.4948 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.0003156/0.941, allocations: 180.5 kB / 0.7119 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.9412, allocations: 53.06 kB / 0.712 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.9434, allocations: 1.022 MB / 0.713 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.9434, allocations: 6.938 kB / 0.713 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.9435, allocations: 1.203 kB / 0.713 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9435, allocations: 6.438 kB / 0.713 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.9453, allocations: 0.9677 MB / 0.7139 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.9453, allocations: 1.625 kB / 0.7139 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.9456, allocations: 47.09 kB / 0.714 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.9476, allocations: 288.5 kB / 0.7142 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.9477, allocations: 15.95 kB / 0.7143 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008391/0.9485, allocations: 0.6123 MB / 0.7148 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9485, allocations: 2.656 kB / 0.7149 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.9508, allocations: 1.289 MB / 0.7161 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.9511, allocations: 142.9 kB / 0.7162 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.9512, allocations: 7.188 kB / 0.7163 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.9516, allocations: 30.48 kB / 0.7163 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.9517, allocations: 31.23 kB / 0.7163 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.9518, allocations: 20.59 kB / 0.7163 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005751/0.9524, allocations: 388.1 kB / 0.7167 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9524, allocations: 0 / 0.7167 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001127/0.9535, allocations: 226 kB / 0.7169 GB, free: 9.973 MB / 0.4948 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.0008266/0.9543, allocations: 290.9 kB / 0.7172 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.9557, allocations: 374.4 kB / 0.7176 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9557, allocations: 0 / 0.7176 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.9563, allocations: 155.3 kB / 0.7177 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.958, allocations: 345.1 kB / 0.718 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.9605, allocations: 1.251 MB / 0.7193 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.961, allocations: 0.8572 MB / 0.7201 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001431/0.9624, allocations: 0.5432 MB / 0.7206 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.9628, allocations: 93.55 kB / 0.7207 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.9628, allocations: 0 / 0.7207 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of Templates: time 0.02337/0.9861, allocations: 13.9 MB / 0.7343 GB, free: 3.906 MB / 0.4948 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches