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.001201/0.001201, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001326/0.001326, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.2121/0.2121, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4011, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2188/0.62, allocations: 182.8 MB / 0.6981 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00481/0.6248, allocations: 2.134 MB / 0.7002 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/0.6257, allocations: 11.94 kB / 0.7002 GB, free: 2.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.627, allocations: 309.9 kB / 0.7005 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6313, allocations: 1.16 MB / 0.7016 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.6334, allocations: 0.6773 MB / 0.7023 GB, free: 288 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.6359, allocations: 1.484 MB / 0.7038 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009022/0.6368, allocations: 419.5 kB / 0.7042 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.6381, allocations: 0.5683 MB / 0.7047 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009123/0.6391, allocations: 438.2 kB / 0.7051 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.6393, allocations: 48 kB / 0.7052 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.6415, allocations: 0.7957 MB / 0.706 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.6418, allocations: 151.5 kB / 0.7061 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.6424, allocations: 318.5 kB / 0.7064 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.6452, allocations: 1.208 MB / 0.7076 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.6452, allocations: 4 kB / 0.7076 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6452, allocations: 7.938 kB / 0.7076 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.6453, allocations: 0 / 0.7076 GB, free: 10.84 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.0023/0.6476, allocations: 0.9857 MB / 0.7086 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6476, allocations: 8.031 kB / 0.7086 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.6488, allocations: 131.3 kB / 0.7087 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.6497, allocations: 460.5 kB / 0.7091 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.6498, allocations: 33 kB / 0.7092 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.6498, allocations: 43.98 kB / 0.7092 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.651, allocations: 0.5554 MB / 0.7097 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.651, allocations: 3.938 kB / 0.7097 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.6511, allocations: 20 kB / 0.7098 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6511, allocations: 12 kB / 0.7098 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/0.652, allocations: 407.6 kB / 0.7102 GB, free: 8.074 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.003209/0.6552, allocations: 2.565 MB / 0.7127 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.6559, allocations: 290.7 kB / 0.713 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.6562, allocations: 144.9 kB / 0.7131 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.6565, allocations: 356.4 kB / 0.7134 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.6566, allocations: 42.56 kB / 0.7135 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 3.737e-06/0.6566, allocations: 0 / 0.7135 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.00248/0.6591, allocations: 0.7068 MB / 0.7142 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.6592, allocations: 140.5 kB / 0.7143 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.6597, allocations: 445.9 kB / 0.7147 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.6598, allocations: 33.7 kB / 0.7148 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.66, allocations: 271.8 kB / 0.715 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.6601, allocations: 102.5 kB / 0.7151 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6603, allocations: 109.6 kB / 0.7152 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6605, allocations: 354.8 kB / 0.7156 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.6608, allocations: 143.9 kB / 0.7157 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.6613, allocations: 279.2 kB / 0.716 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.6622, allocations: 417.6 kB / 0.7164 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6622, allocations: 0 / 0.7164 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001238/0.6635, allocations: 0.529 MB / 0.7169 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6635, allocations: 11.94 kB / 0.7169 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6635, allocations: 4 kB / 0.7169 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.6656, allocations: 264.5 kB / 0.7171 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.666, allocations: 103.9 kB / 0.7172 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2998/0.9659, allocations: 0.5983 MB / 0.7178 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.9665, allocations: 49.61 kB / 0.7179 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.9667, allocations: 48.28 kB / 0.7179 GB, free: 190.3 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.0003389/0.967, allocations: 179.2 kB / 0.7181 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.9672, allocations: 52.19 kB / 0.7181 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.9697, allocations: 1.026 MB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.9697, allocations: 2.219 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9697, allocations: 1.281 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9697, allocations: 2.016 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.9715, allocations: 0.9697 MB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9715, allocations: 1.25 kB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.9718, allocations: 53.5 kB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.9736, allocations: 263.3 kB / 0.7204 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.9737, allocations: 13.58 kB / 0.7204 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007854/0.9745, allocations: 0.606 MB / 0.721 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9745, allocations: 5.141 kB / 0.721 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.9757, allocations: 0.5067 MB / 0.7215 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.9759, allocations: 139.4 kB / 0.7216 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.976, allocations: 9.234 kB / 0.7216 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.9764, allocations: 16.42 kB / 0.7217 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.9765, allocations: 29.5 kB / 0.7217 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.9765, allocations: 15.14 kB / 0.7217 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005206/0.9771, allocations: 391.2 kB / 0.7221 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9771, allocations: 0 / 0.7221 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008958/0.978, allocations: 220.8 kB / 0.7223 GB, free: 188.3 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.0009056/0.9789, allocations: 289.7 kB / 0.7226 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.9804, allocations: 368.1 kB / 0.7229 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9804, allocations: 0 / 0.7229 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.9811, allocations: 166 kB / 0.7231 GB, free: 188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.9827, allocations: 345.9 kB / 0.7234 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.985, allocations: 0.9261 MB / 0.7243 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.9854, allocations: 0.8497 MB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.9858, allocations: 126.5 kB / 0.7252 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.9858, allocations: 0 / 0.7252 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02017/1.006, allocations: 13.22 MB / 0.7382 GB, free: 180.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/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