Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001601, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3749/0.3749, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004745, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5603/0.6765, allocations: 146.8 MB / 0.6221 GB, free: 7.922 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009502/0.6861, allocations: 4.299 MB / 0.6263 GB, free: 3.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.6869, allocations: 19.81 kB / 0.6264 GB, free: 3.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.688, allocations: 234.8 kB / 0.6266 GB, free: 3.363 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.6928, allocations: 1.104 MB / 0.6277 GB, free: 2.258 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.6954, allocations: 0.5548 MB / 0.6282 GB, free: 1.703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.6975, allocations: 0.8591 MB / 0.629 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008732/0.6985, allocations: 334 kB / 0.6294 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.6999, allocations: 498.5 kB / 0.6298 GB, free: 24 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.7007, allocations: 310.9 kB / 0.6301 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.7008, allocations: 24 kB / 0.6302 GB, free: 15.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.7036, allocations: 0.7801 MB / 0.6309 GB, free: 14.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.7039, allocations: 131.5 kB / 0.631 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.7043, allocations: 145.4 kB / 0.6312 GB, free: 14.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.7066, allocations: 0.8905 MB / 0.6321 GB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7067, allocations: 0 / 0.6321 GB, free: 13.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7067, allocations: 0 / 0.6321 GB, free: 13.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.7067, allocations: 3.938 kB / 0.6321 GB, free: 13.74 MB / 442.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.0026/0.7094, allocations: 0.8923 MB / 0.6329 GB, free: 12.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7094, allocations: 8.031 kB / 0.6329 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.7109, allocations: 139.2 kB / 0.6331 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.712, allocations: 421 kB / 0.6335 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.7121, allocations: 32.98 kB / 0.6335 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.7122, allocations: 43.94 kB / 0.6335 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.7139, allocations: 0.5555 MB / 0.6341 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.714, allocations: 0 / 0.6341 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.7141, allocations: 20 kB / 0.6341 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.7141, allocations: 15.95 kB / 0.6341 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7156, allocations: 415.6 kB / 0.6345 GB, free: 11.09 MB / 442.7 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.004834/0.7205, allocations: 2.569 MB / 0.637 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.7215, allocations: 290.8 kB / 0.6373 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009302/0.7225, allocations: 329.2 kB / 0.6376 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.7225, allocations: 38.56 kB / 0.6377 GB, free: 7.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.236e-06/0.7226, allocations: 4 kB / 0.6377 GB, free: 7.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.004251/0.7268, allocations: 0.7191 MB / 0.6384 GB, free: 6.836 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.727, allocations: 132.5 kB / 0.6385 GB, free: 6.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.7279, allocations: 441.9 kB / 0.6389 GB, free: 6.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.728, allocations: 33.7 kB / 0.6389 GB, free: 6.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.7283, allocations: 310.2 kB / 0.6392 GB, free: 5.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.7284, allocations: 102.5 kB / 0.6393 GB, free: 5.789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.7285, allocations: 12 kB / 0.6393 GB, free: 5.777 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7287, allocations: 330.8 kB / 0.6397 GB, free: 5.445 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.7294, allocations: 143.9 kB / 0.6398 GB, free: 5.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.7302, allocations: 277.9 kB / 0.6401 GB, free: 4.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.7311, allocations: 183.9 kB / 0.6402 GB, free: 4.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.7312, allocations: 7.938 kB / 0.6402 GB, free: 4.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002132/0.7333, allocations: 493.9 kB / 0.6407 GB, free: 4.301 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.7334, allocations: 11.98 kB / 0.6407 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7334, allocations: 4 kB / 0.6407 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/0.7374, allocations: 320.9 kB / 0.641 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.7382, allocations: 103.9 kB / 0.6411 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.7401, allocations: 0.6049 MB / 0.6417 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/0.741, allocations: 63.62 kB / 0.6418 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.7412, allocations: 44.05 kB / 0.6418 GB, free: 3.133 MB / 442.7 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.0004407/0.7416, allocations: 189.7 kB / 0.642 GB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.7418, allocations: 55.42 kB / 0.6421 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.745, allocations: 0.6698 MB / 0.6427 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.7451, allocations: 8 kB / 0.6427 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.7451, allocations: 4.859 kB / 0.6427 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7451, allocations: 3.938 kB / 0.6427 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.7483, allocations: 0.9674 MB / 0.6437 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.7484, allocations: 4 kB / 0.6437 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.7489, allocations: 55.89 kB / 0.6437 GB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004124/0.7531, allocations: 336.6 kB / 0.6441 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.975e-05/0.7532, allocations: 15.98 kB / 0.6441 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7549, allocations: 0.5992 MB / 0.6447 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/0.755, allocations: 4.031 kB / 0.6447 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.7575, allocations: 0.5863 MB / 0.6452 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.7578, allocations: 136.5 kB / 0.6454 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.758, allocations: 8 kB / 0.6454 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.7588, allocations: 35.97 kB / 0.6454 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.759, allocations: 31.84 kB / 0.6454 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.759, allocations: 19.98 kB / 0.6455 GB, free: 15.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007055/0.7598, allocations: 354.8 kB / 0.6458 GB, free: 14.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7598, allocations: 0 / 0.6458 GB, free: 14.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001264/0.761, allocations: 271.7 kB / 0.6461 GB, free: 14.59 MB / 458.7 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.001359/0.7624, allocations: 366 kB / 0.6464 GB, free: 14.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00254/0.765, allocations: 372.1 kB / 0.6468 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.765, allocations: 0.875 kB / 0.6468 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.7666, allocations: 167.8 kB / 0.6469 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.769, allocations: 270.4 kB / 0.6472 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.7729, allocations: 1.08 MB / 0.6482 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/0.7737, allocations: 0.8589 MB / 0.6491 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/0.7743, allocations: 103.4 kB / 0.6492 GB, free: 11.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.844e-06/0.7743, allocations: 0 / 0.6492 GB, free: 11.32 MB / 458.7 MB Notification: Performance of Templates: time 0.03132/0.8057, allocations: 12.97 MB / 0.6618 GB, free: 14.36 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches