Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001506/0.001506, allocations: 103.8 kB / 15.98 MB, free: 6.352 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.001445/0.001445, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3464/0.3464, allocations: 43.5 MB / 313.6 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1262, allocations: 57.78 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4124/0.5386, allocations: 187.8 MB / 0.6131 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.5438, allocations: 2.201 MB / 0.6152 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5449, allocations: 23.81 kB / 0.6152 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.5463, allocations: 254.6 kB / 0.6155 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.551, allocations: 1.283 MB / 0.6167 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.553, allocations: 0.6293 MB / 0.6174 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.5552, allocations: 1.473 MB / 0.6188 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.556, allocations: 418 kB / 0.6192 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.5573, allocations: 0.5722 MB / 0.6198 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000855/0.5581, allocations: 466.1 kB / 0.6202 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.5583, allocations: 48 kB / 0.6202 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.5607, allocations: 0.9165 MB / 0.6211 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.5609, allocations: 151.5 kB / 0.6213 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.5615, allocations: 330.5 kB / 0.6216 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.5641, allocations: 1.328 MB / 0.6229 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5641, allocations: 0 / 0.6229 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5641, allocations: 0 / 0.6229 GB, free: 6.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.5642, allocations: 0 / 0.6229 GB, free: 6.266 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.002269/0.5665, allocations: 1.03 MB / 0.6239 GB, free: 5.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5665, allocations: 8.031 kB / 0.6239 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.5675, allocations: 143.2 kB / 0.624 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.5682, allocations: 448.5 kB / 0.6245 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.5682, allocations: 29 kB / 0.6245 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.5683, allocations: 51.88 kB / 0.6246 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.5694, allocations: 0.5477 MB / 0.6251 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5694, allocations: 0 / 0.6251 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.5695, allocations: 19.94 kB / 0.6251 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.5695, allocations: 15.98 kB / 0.6251 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.5703, allocations: 408.6 kB / 0.6255 GB, free: 3.461 MB / 494.1 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.00276/0.573, allocations: 2.584 MB / 0.628 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.5736, allocations: 295.1 kB / 0.6283 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.5739, allocations: 147.4 kB / 0.6285 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3023/0.8762, allocations: 1.219 MB / 0.6296 GB, free: 50.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.8763, allocations: 37.72 kB / 0.6297 GB, free: 50.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 3.476e-06/0.8764, allocations: 2.25 kB / 0.6297 GB, free: 50.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002699/0.8791, allocations: 0.697 MB / 0.6304 GB, free: 50.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.8791, allocations: 131.9 kB / 0.6305 GB, free: 50.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.8797, allocations: 446.5 kB / 0.6309 GB, free: 50.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.8798, allocations: 36.45 kB / 0.631 GB, free: 50.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.8799, allocations: 276.1 kB / 0.6312 GB, free: 49.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.88, allocations: 101.8 kB / 0.6313 GB, free: 49.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.8802, allocations: 105.4 kB / 0.6314 GB, free: 49.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.8803, allocations: 357.9 kB / 0.6318 GB, free: 49.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.8806, allocations: 141 kB / 0.6319 GB, free: 49.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.881, allocations: 274.2 kB / 0.6321 GB, free: 49.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.8818, allocations: 422.7 kB / 0.6326 GB, free: 49.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.8818, allocations: 2.156 kB / 0.6326 GB, free: 49.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001074/0.8829, allocations: 0.5197 MB / 0.6331 GB, free: 49.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.8829, allocations: 7.562 kB / 0.6331 GB, free: 49.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.8829, allocations: 4.469 kB / 0.6331 GB, free: 49.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/0.885, allocations: 268.2 kB / 0.6333 GB, free: 49.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.8854, allocations: 103.5 kB / 0.6334 GB, free: 49.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/0.8863, allocations: 0.6073 MB / 0.634 GB, free: 48.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.8868, allocations: 66.69 kB / 0.6341 GB, free: 48.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.8869, allocations: 46.98 kB / 0.6341 GB, free: 48.7 MB / 494.1 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 (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.0002502/0.8871, allocations: 176.9 kB / 0.6343 GB, free: 48.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8872, allocations: 51.84 kB / 0.6343 GB, free: 48.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.889, allocations: 0.6666 MB / 0.635 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8891, allocations: 3.625 kB / 0.635 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8891, allocations: 4.062 kB / 0.635 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8891, allocations: 0.875 kB / 0.635 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.8907, allocations: 0.9842 MB / 0.636 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8908, allocations: 0 / 0.636 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.891, allocations: 53.53 kB / 0.636 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.8927, allocations: 258.4 kB / 0.6363 GB, free: 48.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.8928, allocations: 15.31 kB / 0.6363 GB, free: 48.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.8936, allocations: 0.6034 MB / 0.6369 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8936, allocations: 2.594 kB / 0.6369 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.8949, allocations: 0.5047 MB / 0.6374 GB, free: 47.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.895, allocations: 133.4 kB / 0.6375 GB, free: 47.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.8951, allocations: 13.12 kB / 0.6375 GB, free: 47.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.8956, allocations: 34.48 kB / 0.6375 GB, free: 47.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.8957, allocations: 25 kB / 0.6376 GB, free: 47.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.8957, allocations: 24.91 kB / 0.6376 GB, free: 47.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004259/0.8961, allocations: 387.7 kB / 0.638 GB, free: 47.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8961, allocations: 2.25 kB / 0.638 GB, free: 47.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008532/0.897, allocations: 254.9 kB / 0.6382 GB, free: 47.12 MB / 494.1 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 (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.0008261/0.8978, allocations: 372.4 kB / 0.6386 GB, free: 47.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.8992, allocations: 378.9 kB / 0.6389 GB, free: 47.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8992, allocations: 1.062 kB / 0.6389 GB, free: 47.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007247/0.9, allocations: 162 kB / 0.6391 GB, free: 47.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.9016, allocations: 355 kB / 0.6394 GB, free: 46.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.9036, allocations: 1.068 MB / 0.6405 GB, free: 46.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.9039, allocations: 0.8504 MB / 0.6413 GB, free: 45.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00086/0.9048, allocations: 188.7 kB / 0.6415 GB, free: 45.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.905, allocations: 78.69 kB / 0.6415 GB, free: 45.71 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.905, allocations: 0.8125 kB / 0.6415 GB, free: 45.71 MB / 494.1 MB Notification: Performance of Templates: time 0.02913/0.9342, allocations: 14.9 MB / 0.6561 GB, free: 43.68 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches