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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 95.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000866/0.0008661, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3793/0.5008, allocations: 146.8 MB / 0.6038 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005178/0.506, allocations: 2.946 MB / 0.6067 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005757/0.5066, allocations: 23.81 kB / 0.6067 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.5075, allocations: 234.8 kB / 0.6069 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.5102, allocations: 0.92 MB / 0.6078 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.5118, allocations: 0.544 MB / 0.6084 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.5131, allocations: 0.8707 MB / 0.6092 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.5137, allocations: 334 kB / 0.6095 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.5145, allocations: 494.5 kB / 0.61 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.5149, allocations: 314.8 kB / 0.6103 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.515, allocations: 28 kB / 0.6103 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.5164, allocations: 0.6437 MB / 0.611 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5165, allocations: 123.5 kB / 0.6111 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.5166, allocations: 141.4 kB / 0.6112 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.5177, allocations: 0.8248 MB / 0.612 GB, free: 6.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5177, allocations: 4 kB / 0.612 GB, free: 6.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5177, allocations: 0 / 0.612 GB, free: 6.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5177, allocations: 0 / 0.612 GB, free: 6.652 MB / 446.1 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.001524/0.5193, allocations: 0.8499 MB / 0.6128 GB, free: 5.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5193, allocations: 12.03 kB / 0.6129 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/0.5203, allocations: 143.2 kB / 0.613 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.5209, allocations: 417 kB / 0.6134 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.5209, allocations: 29 kB / 0.6134 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.521, allocations: 40 kB / 0.6135 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009912/0.522, allocations: 0.5593 MB / 0.614 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5221, allocations: 0 / 0.614 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.5221, allocations: 16 kB / 0.614 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5221, allocations: 12 kB / 0.614 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.523, allocations: 419.6 kB / 0.6144 GB, free: 4.051 MB / 446.1 MB 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.002781/0.5258, allocations: 2.565 MB / 0.6169 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.5264, allocations: 290.8 kB / 0.6172 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.527, allocations: 449.5 kB / 0.6176 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.5271, allocations: 38.56 kB / 0.6177 GB, free: 404 kB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.5271, allocations: 0 / 0.6177 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002652/0.5297, allocations: 0.7273 MB / 0.6184 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.5299, allocations: 136.5 kB / 0.6185 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.5306, allocations: 445.9 kB / 0.6189 GB, free: 15.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.5307, allocations: 29.7 kB / 0.619 GB, free: 15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.531, allocations: 271.7 kB / 0.6192 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5312, allocations: 106.5 kB / 0.6193 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.5312, allocations: 8 kB / 0.6193 GB, free: 14.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.5315, allocations: 362.8 kB / 0.6197 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.532, allocations: 139.9 kB / 0.6198 GB, free: 14.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.5328, allocations: 283.2 kB / 0.6201 GB, free: 13.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.5335, allocations: 184.1 kB / 0.6203 GB, free: 13.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.5335, allocations: 4 kB / 0.6203 GB, free: 13.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00182/0.5353, allocations: 0.5328 MB / 0.6208 GB, free: 13.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5354, allocations: 8 kB / 0.6208 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.5354, allocations: 0 / 0.6208 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.5384, allocations: 316.8 kB / 0.6211 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.539, allocations: 111.8 kB / 0.6212 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.5404, allocations: 0.603 MB / 0.6218 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.5411, allocations: 59.56 kB / 0.6218 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5412, allocations: 51.97 kB / 0.6219 GB, free: 11.89 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.5417, allocations: 186.2 kB / 0.6221 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5418, allocations: 51.39 kB / 0.6221 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.5452, allocations: 1.032 MB / 0.6231 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5452, allocations: 4 kB / 0.6231 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5452, allocations: 3.984 kB / 0.6231 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.5452, allocations: 0 / 0.6231 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.5476, allocations: 0.9696 MB / 0.6241 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5477, allocations: 4.031 kB / 0.6241 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.5481, allocations: 51.91 kB / 0.6241 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.5513, allocations: 340.4 kB / 0.6245 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.5513, allocations: 11.98 kB / 0.6245 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.5527, allocations: 0.6107 MB / 0.6251 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5527, allocations: 4.031 kB / 0.6251 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.5546, allocations: 0.5671 MB / 0.6256 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.5549, allocations: 148.2 kB / 0.6258 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5551, allocations: 11.98 kB / 0.6258 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/0.5558, allocations: 31.97 kB / 0.6258 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5559, allocations: 27.92 kB / 0.6258 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.556, allocations: 19.97 kB / 0.6259 GB, free: 7.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007117/0.5567, allocations: 354.9 kB / 0.6262 GB, free: 7.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5567, allocations: 3.938 kB / 0.6262 GB, free: 7.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00142/0.5581, allocations: 223.8 kB / 0.6264 GB, free: 7.043 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.5592, allocations: 300.1 kB / 0.6267 GB, free: 6.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5612, allocations: 372.6 kB / 0.6271 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5612, allocations: 0 / 0.6271 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5623, allocations: 167.8 kB / 0.6272 GB, free: 6.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.5642, allocations: 270 kB / 0.6275 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5673, allocations: 1.066 MB / 0.6285 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.5679, allocations: 0.8629 MB / 0.6294 GB, free: 3.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001931/0.5698, allocations: 0.5365 MB / 0.6299 GB, free: 3.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.5702, allocations: 83.39 kB / 0.63 GB, free: 3.348 MB / 462.1 MB Notification: Performance of SimCode: time 3.207e-06/0.5702, allocations: 0 / 0.63 GB, free: 3.348 MB / 462.1 MB Notification: Performance of Templates: time 0.03116/0.6014, allocations: 12.07 MB / 0.6417 GB, free: 7.422 MB / 478.1 MB 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/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