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.001101/0.001101, allocations: 111.8 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.001126/0.001127, allocations: 182.3 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.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2144/0.2144, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.451, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2173/0.6684, allocations: 182.8 MB / 0.6981 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004293/0.6727, allocations: 2.127 MB / 0.7002 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.6733, allocations: 19.88 kB / 0.7002 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009265/0.6743, allocations: 298 kB / 0.7005 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.6778, allocations: 1.175 MB / 0.7017 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.6797, allocations: 0.6735 MB / 0.7023 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.6817, allocations: 1.481 MB / 0.7038 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.6824, allocations: 423.4 kB / 0.7042 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009659/0.6833, allocations: 0.5605 MB / 0.7047 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.6838, allocations: 446.1 kB / 0.7051 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.6839, allocations: 48 kB / 0.7052 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.6857, allocations: 0.7841 MB / 0.7059 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.6859, allocations: 155.5 kB / 0.7061 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.6862, allocations: 326.5 kB / 0.7064 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.6879, allocations: 1.211 MB / 0.7076 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6879, allocations: 0 / 0.7076 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.688, allocations: 0 / 0.7076 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.688, 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.001738/0.6897, allocations: 0.9934 MB / 0.7086 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6898, allocations: 8.031 kB / 0.7086 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009459/0.6907, allocations: 131.3 kB / 0.7087 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.6915, allocations: 464.5 kB / 0.7091 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.6916, allocations: 32.98 kB / 0.7092 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.6916, allocations: 36 kB / 0.7092 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.6926, allocations: 0.5554 MB / 0.7097 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6926, allocations: 8 kB / 0.7097 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.6927, allocations: 20 kB / 0.7098 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.6927, allocations: 12 kB / 0.7098 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.6935, allocations: 407.6 kB / 0.7102 GB, free: 8.066 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.002863/0.6964, allocations: 2.569 MB / 0.7127 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.697, allocations: 286.7 kB / 0.7129 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.6973, allocations: 148.9 kB / 0.7131 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.6976, allocations: 352.4 kB / 0.7134 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6977, allocations: 38.56 kB / 0.7135 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.6977, allocations: 3.938 kB / 0.7135 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002397/0.7001, allocations: 0.7068 MB / 0.7142 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.7002, allocations: 136.5 kB / 0.7143 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.7006, allocations: 449.9 kB / 0.7147 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.7007, allocations: 33.7 kB / 0.7147 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.7009, allocations: 267.8 kB / 0.715 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.701, allocations: 110.5 kB / 0.7151 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.7012, allocations: 97.66 kB / 0.7152 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7014, allocations: 358.8 kB / 0.7155 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.7017, allocations: 147.8 kB / 0.7157 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.7022, allocations: 271.3 kB / 0.7159 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008269/0.703, allocations: 421.6 kB / 0.7163 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7031, allocations: 4 kB / 0.7164 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/0.7042, allocations: 0.5247 MB / 0.7169 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7043, allocations: 8.375 kB / 0.7169 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.7043, allocations: 8 kB / 0.7169 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.7064, allocations: 268.4 kB / 0.7171 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.7068, allocations: 103.9 kB / 0.7172 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3182/1.025, allocations: 0.599 MB / 0.7178 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/1.026, allocations: 48.47 kB / 0.7179 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.026, allocations: 48.72 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.0003557/1.026, allocations: 177.5 kB / 0.7181 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.026, allocations: 50.08 kB / 0.7181 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/1.029, allocations: 1.023 MB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.029, allocations: 2.594 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.029, allocations: 0.8906 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.029, allocations: 5.422 kB / 0.7191 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/1.031, allocations: 0.9686 MB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.031, allocations: 1.156 kB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/1.031, allocations: 47.62 kB / 0.7201 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.033, allocations: 274 kB / 0.7204 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/1.033, allocations: 12.92 kB / 0.7204 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008179/1.034, allocations: 0.5968 MB / 0.721 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.034, allocations: 3.062 kB / 0.721 GB, free: 188.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/1.035, allocations: 0.5139 MB / 0.7215 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/1.035, allocations: 134.1 kB / 0.7216 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/1.035, allocations: 11.02 kB / 0.7216 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/1.036, allocations: 16.12 kB / 0.7216 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/1.036, allocations: 30.62 kB / 0.7217 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/1.036, allocations: 16.94 kB / 0.7217 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005429/1.036, allocations: 389.9 kB / 0.7221 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.036, allocations: 3.938 kB / 0.7221 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008675/1.037, allocations: 218.5 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.0007525/1.038, allocations: 302.5 kB / 0.7226 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.039, allocations: 371.7 kB / 0.7229 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.039, allocations: 0.7812 kB / 0.7229 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/1.04, allocations: 162.4 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.001544/1.042, allocations: 339.7 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.002125/1.044, allocations: 0.9271 MB / 0.7243 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.044, allocations: 0.8464 MB / 0.7251 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.045, allocations: 125.6 kB / 0.7252 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/1.045, allocations: 0 / 0.7252 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01997/1.064, allocations: 13.23 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