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.00107/0.001071, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001135/0.001135, allocations: 184.2 kB / 18.71 MB, free: 4.32 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4328, allocations: 60.82 MB / 0.5189 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2132/0.6461, allocations: 182.8 MB / 0.6975 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.6503, allocations: 2.134 MB / 0.6995 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.6509, allocations: 19.88 kB / 0.6996 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.6518, allocations: 294 kB / 0.6998 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003274/0.6551, allocations: 1.175 MB / 0.701 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.657, allocations: 0.6735 MB / 0.7017 GB, free: 464 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.6589, allocations: 1.484 MB / 0.7031 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005621/0.6595, allocations: 415.4 kB / 0.7035 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.6603, allocations: 0.5683 MB / 0.7041 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004997/0.6609, allocations: 438.1 kB / 0.7045 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.6609, allocations: 48 kB / 0.7045 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.6625, allocations: 0.788 MB / 0.7053 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.6627, allocations: 155.5 kB / 0.7054 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.6631, allocations: 330.5 kB / 0.7057 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6649, allocations: 1.208 MB / 0.7069 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6649, allocations: 0 / 0.7069 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6649, allocations: 0 / 0.7069 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.6649, allocations: 0 / 0.7069 GB, free: 11.02 MB / 0.5606 GB 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.001684/0.6666, allocations: 0.9895 MB / 0.7079 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6667, allocations: 12.03 kB / 0.7079 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/0.6676, allocations: 127.3 kB / 0.708 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.6683, allocations: 464.5 kB / 0.7085 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.6683, allocations: 33 kB / 0.7085 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.6684, allocations: 36 kB / 0.7085 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.6694, allocations: 0.5592 MB / 0.7091 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6694, allocations: 7.984 kB / 0.7091 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.6695, allocations: 16 kB / 0.7091 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.6695, allocations: 12 kB / 0.7091 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.6703, allocations: 411.6 kB / 0.7095 GB, free: 8.246 MB / 0.5606 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.002807/0.6731, allocations: 2.565 MB / 0.712 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.6738, allocations: 285.5 kB / 0.7123 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.6741, allocations: 152.9 kB / 0.7124 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.6744, allocations: 360.3 kB / 0.7128 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.6744, allocations: 42.55 kB / 0.7128 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.6744, allocations: 0 / 0.7128 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002432/0.6769, allocations: 0.7029 MB / 0.7135 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.677, allocations: 136.5 kB / 0.7136 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.6774, allocations: 445.9 kB / 0.7141 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.6775, allocations: 33.7 kB / 0.7141 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.6777, allocations: 271.8 kB / 0.7143 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.6778, allocations: 106.5 kB / 0.7144 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.678, allocations: 101.7 kB / 0.7145 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6781, allocations: 358.8 kB / 0.7149 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.6785, allocations: 143.9 kB / 0.715 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.679, allocations: 275.2 kB / 0.7153 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/0.6798, allocations: 417.6 kB / 0.7157 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.6798, allocations: 4 kB / 0.7157 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001209/0.6811, allocations: 0.5286 MB / 0.7162 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6811, allocations: 7.938 kB / 0.7162 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6811, allocations: 4 kB / 0.7162 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.6832, allocations: 272.9 kB / 0.7165 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.6836, allocations: 107.8 kB / 0.7166 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2872/0.9708, allocations: 0.5918 MB / 0.7172 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.9714, allocations: 53.64 kB / 0.7172 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.9716, allocations: 46.5 kB / 0.7173 GB, free: 190.6 MB / 0.5606 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.0003789/0.972, allocations: 178.6 kB / 0.7174 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.9721, allocations: 50.19 kB / 0.7175 GB, free: 190.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.9745, allocations: 1.024 MB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9745, allocations: 5.531 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9745, allocations: 0 / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.9745, allocations: 6.109 kB / 0.7185 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.9761, allocations: 0.9681 MB / 0.7194 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9762, allocations: 3.781 kB / 0.7194 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.9764, allocations: 49.22 kB / 0.7195 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.9782, allocations: 258.5 kB / 0.7197 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.9783, allocations: 13.27 kB / 0.7197 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007835/0.9791, allocations: 0.6139 MB / 0.7203 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9791, allocations: 1.125 kB / 0.7203 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.9804, allocations: 0.5106 MB / 0.7208 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.9805, allocations: 131.4 kB / 0.721 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9806, allocations: 13.05 kB / 0.721 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.981, allocations: 20.75 kB / 0.721 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.9811, allocations: 23.19 kB / 0.721 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.9811, allocations: 20.31 kB / 0.721 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004931/0.9816, allocations: 385.5 kB / 0.7214 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9816, allocations: 2.188 kB / 0.7214 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007418/0.9824, allocations: 224.7 kB / 0.7216 GB, free: 188.6 MB / 0.5606 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.0006659/0.983, allocations: 283.4 kB / 0.7219 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.9844, allocations: 374.5 kB / 0.7222 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9844, allocations: 1 kB / 0.7223 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.9851, allocations: 161 kB / 0.7224 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.9867, allocations: 348 kB / 0.7227 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.9885, allocations: 0.9044 MB / 0.7236 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.9888, allocations: 0.8531 MB / 0.7245 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009014/0.9897, allocations: 0.5465 MB / 0.725 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.99, allocations: 88.56 kB / 0.7251 GB, free: 187 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.99, allocations: 0 / 0.7251 GB, free: 187 MB / 0.5606 GB Notification: Performance of Templates: time 0.02319/1.013, allocations: 14.19 MB / 0.7389 GB, free: 179.7 MB / 0.5606 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/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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches