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.00149/0.001489, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 79.09 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 62.44 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4724/0.5995, allocations: 183.7 MB / 0.6477 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.6044, allocations: 2.209 MB / 0.6498 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.6052, allocations: 23.81 kB / 0.6499 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009449/0.6062, allocations: 254.6 kB / 0.6501 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.6098, allocations: 1.067 MB / 0.6511 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.6122, allocations: 0.6324 MB / 0.6518 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.6148, allocations: 1.488 MB / 0.6532 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.6155, allocations: 419.2 kB / 0.6536 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6165, allocations: 0.5683 MB / 0.6542 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004872/0.617, allocations: 458.1 kB / 0.6546 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.6171, allocations: 48 kB / 0.6547 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.6188, allocations: 0.7568 MB / 0.6554 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.619, allocations: 163.4 kB / 0.6555 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.6193, allocations: 330.5 kB / 0.6559 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.6211, allocations: 1.212 MB / 0.657 GB, free: 2.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.6211, allocations: 0 / 0.657 GB, free: 2.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6212, allocations: 3.938 kB / 0.6571 GB, free: 2.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.6212, allocations: 0 / 0.6571 GB, free: 2.215 MB / 494.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.001927/0.6231, allocations: 0.9857 MB / 0.658 GB, free: 1.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.6232, allocations: 8.031 kB / 0.658 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.6242, allocations: 135.2 kB / 0.6581 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.6248, allocations: 452.4 kB / 0.6586 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.6248, allocations: 29 kB / 0.6586 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.6249, allocations: 40 kB / 0.6586 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6261, allocations: 0.5554 MB / 0.6592 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6261, allocations: 7.938 kB / 0.6592 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.6262, allocations: 16 kB / 0.6592 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6262, allocations: 12 kB / 0.6592 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/0.627, allocations: 407.6 kB / 0.6596 GB, free: 15.46 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.002743/0.6297, allocations: 2.565 MB / 0.6621 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.6304, allocations: 297 kB / 0.6624 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.6307, allocations: 141 kB / 0.6625 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.6311, allocations: 356.4 kB / 0.6629 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.6312, allocations: 42.5 kB / 0.6629 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.6312, allocations: 0 / 0.6629 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002371/0.6335, allocations: 0.7071 MB / 0.6636 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.6336, allocations: 136.5 kB / 0.6637 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.6341, allocations: 449.8 kB / 0.6642 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.6342, allocations: 33.7 kB / 0.6642 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6343, allocations: 275.8 kB / 0.6645 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.6345, allocations: 98.5 kB / 0.6646 GB, free: 10 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.6346, allocations: 109.6 kB / 0.6647 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6348, allocations: 354.8 kB / 0.665 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.6351, allocations: 139.9 kB / 0.6651 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.6356, allocations: 280.3 kB / 0.6654 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.6365, allocations: 425.5 kB / 0.6658 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6365, allocations: 4 kB / 0.6658 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.6377, allocations: 0.5174 MB / 0.6663 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6377, allocations: 12.03 kB / 0.6663 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6377, allocations: 7.984 kB / 0.6663 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.6398, allocations: 264.4 kB / 0.6666 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.6402, allocations: 107.9 kB / 0.6667 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009156/0.6411, allocations: 0.6031 MB / 0.6673 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.6416, allocations: 63.41 kB / 0.6673 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/0.6417, allocations: 48.05 kB / 0.6674 GB, free: 6.953 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.0002842/0.642, allocations: 188.6 kB / 0.6676 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6421, allocations: 51.44 kB / 0.6676 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.6443, allocations: 1.017 MB / 0.6686 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6443, allocations: 0 / 0.6686 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6443, allocations: 3.984 kB / 0.6686 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6443, allocations: 11.92 kB / 0.6686 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.646, allocations: 0.9712 MB / 0.6696 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.646, allocations: 0 / 0.6696 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.6462, allocations: 47.91 kB / 0.6696 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.648, allocations: 257.5 kB / 0.6699 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.648, allocations: 15.92 kB / 0.6699 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/0.649, allocations: 0.6069 MB / 0.6705 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.649, allocations: 4.031 kB / 0.6705 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.6504, allocations: 0.5077 MB / 0.671 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.6505, allocations: 132.5 kB / 0.6711 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6506, allocations: 17.48 kB / 0.6711 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.6511, allocations: 31.88 kB / 0.6711 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6511, allocations: 27.91 kB / 0.6712 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.6512, allocations: 23.92 kB / 0.6712 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004558/0.6517, allocations: 386.8 kB / 0.6716 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6517, allocations: 0 / 0.6716 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007484/0.6524, allocations: 223.8 kB / 0.6718 GB, free: 2.273 MB / 0.4981 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.0007119/0.6531, allocations: 290.3 kB / 0.672 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.6546, allocations: 391.5 kB / 0.6724 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.6546, allocations: 0 / 0.6724 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.6553, allocations: 160.9 kB / 0.6726 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.6569, allocations: 357.4 kB / 0.6729 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.6591, allocations: 1.064 MB / 0.674 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6596, allocations: 0.8472 MB / 0.6748 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001197/0.6608, allocations: 0.5469 MB / 0.6753 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6611, allocations: 91.38 kB / 0.6754 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.6611, allocations: 0 / 0.6754 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of Templates: time 0.02472/0.6859, allocations: 14.05 MB / 0.6891 GB, free: 0.5703 MB / 0.5137 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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