Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 94 kB / 291.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3283/0.3283, allocations: 44.12 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.00104, allocations: 55.91 kB / 457.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3608, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5236/0.8845, allocations: 180.8 MB / 0.683 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.8884, allocations: 2.239 MB / 0.6852 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.889, allocations: 21.94 kB / 0.6852 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.8898, allocations: 248.1 kB / 0.6854 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.8925, allocations: 1.038 MB / 0.6864 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.8941, allocations: 0.6159 MB / 0.687 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.8963, allocations: 1.985 MB / 0.689 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.8968, allocations: 354 kB / 0.6893 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.8977, allocations: 0.5184 MB / 0.6898 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.8982, allocations: 453.9 kB / 0.6903 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.235e-05/0.8983, allocations: 31.02 kB / 0.6903 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.8998, allocations: 0.7115 MB / 0.691 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.9, allocations: 137.2 kB / 0.6911 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.9004, allocations: 305.1 kB / 0.6914 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.9022, allocations: 1.187 MB / 0.6926 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.9023, allocations: 0 / 0.6926 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.9023, allocations: 1.688 kB / 0.6926 GB, free: 1.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.9023, allocations: 0 / 0.6926 GB, free: 1.527 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.001982/0.9043, allocations: 0.9925 MB / 0.6935 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.9043, allocations: 8.906 kB / 0.6935 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/0.9052, allocations: 129.6 kB / 0.6937 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.9059, allocations: 448.4 kB / 0.6941 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.906, allocations: 32.69 kB / 0.6941 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.906, allocations: 37.72 kB / 0.6942 GB, free: 16.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009068/0.9069, allocations: 0.5579 MB / 0.6947 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.907, allocations: 0 / 0.6947 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.907, allocations: 17.31 kB / 0.6947 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.907, allocations: 9.406 kB / 0.6947 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/0.9078, allocations: 414.2 kB / 0.6951 GB, free: 16.52 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.002675/0.9105, allocations: 2.565 MB / 0.6976 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.911, allocations: 292.1 kB / 0.6979 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.9113, allocations: 149.3 kB / 0.698 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.9117, allocations: 359.9 kB / 0.6984 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.9118, allocations: 42.19 kB / 0.6984 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.9118, allocations: 1.203 kB / 0.6984 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.002152/0.9139, allocations: 0.7084 MB / 0.6991 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.914, allocations: 134.1 kB / 0.6993 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.9145, allocations: 445.1 kB / 0.6997 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.9145, allocations: 31.92 kB / 0.6997 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.9147, allocations: 272 kB / 0.7 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.9147, allocations: 104.1 kB / 0.7001 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.9149, allocations: 107.9 kB / 0.7002 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.915, allocations: 363 kB / 0.7005 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.9154, allocations: 138.6 kB / 0.7006 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.9158, allocations: 278.8 kB / 0.7009 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.9165, allocations: 422.8 kB / 0.7013 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9165, allocations: 1.531 kB / 0.7013 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.9176, allocations: 0.5281 MB / 0.7018 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9176, allocations: 7.406 kB / 0.7018 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9176, allocations: 4.703 kB / 0.7018 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.9194, allocations: 270.7 kB / 0.7021 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.9198, allocations: 104 kB / 0.7022 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007896/0.9206, allocations: 0.603 MB / 0.7028 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.921, allocations: 58.12 kB / 0.7028 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.9211, allocations: 47.28 kB / 0.7029 GB, free: 12.34 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.0002616/0.9214, allocations: 181.8 kB / 0.7031 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.9215, allocations: 50.94 kB / 0.7031 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.9235, allocations: 1.028 MB / 0.7041 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9235, allocations: 6.672 kB / 0.7041 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9236, allocations: 1.125 kB / 0.7041 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9236, allocations: 5.781 kB / 0.7041 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.9252, allocations: 0.967 MB / 0.7051 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9252, allocations: 1.781 kB / 0.7051 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.9255, allocations: 52.7 kB / 0.7051 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.9274, allocations: 280.7 kB / 0.7054 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.9274, allocations: 15.91 kB / 0.7054 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008018/0.9282, allocations: 0.6001 MB / 0.706 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.9283, allocations: 5.922 kB / 0.706 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.9303, allocations: 1.298 MB / 0.7073 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.9304, allocations: 135 kB / 0.7074 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.9305, allocations: 8.297 kB / 0.7074 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.931, allocations: 33.62 kB / 0.7074 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.931, allocations: 26.59 kB / 0.7075 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.9311, allocations: 24.41 kB / 0.7075 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004933/0.9316, allocations: 390.2 kB / 0.7079 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9316, allocations: 3.938 kB / 0.7079 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008771/0.9325, allocations: 226.8 kB / 0.7081 GB, free: 10.05 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.0007615/0.9333, allocations: 293 kB / 0.7084 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.9346, allocations: 372.7 kB / 0.7087 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9346, allocations: 0.9062 kB / 0.7087 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.9353, allocations: 161.4 kB / 0.7089 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.937, allocations: 336.7 kB / 0.7092 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.9392, allocations: 1.242 MB / 0.7104 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.9397, allocations: 0.8537 MB / 0.7112 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001423/0.9412, allocations: 0.5466 MB / 0.7118 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.9415, allocations: 91.05 kB / 0.7119 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.9415, allocations: 0 / 0.7119 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of Templates: time 0.02192/0.9634, allocations: 13.88 MB / 0.7254 GB, free: 4.668 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches