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.001526/0.001526, allocations: 103.2 kB / 16.27 MB, free: 6.367 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.001683/0.001683, allocations: 189.9 kB / 17.2 MB, free: 5.949 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.497/1.497, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2293/0.2293, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001669/0.00167, allocations: 67.92 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1291, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5548/0.684, allocations: 189.8 MB / 0.6155 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.6897, allocations: 2.125 MB / 0.6176 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.6905, allocations: 17.97 kB / 0.6176 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.6915, allocations: 302 kB / 0.6179 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.6959, allocations: 1.409 MB / 0.6193 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.698, allocations: 0.6757 MB / 0.62 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.7001, allocations: 1.464 MB / 0.6214 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.7008, allocations: 422.4 kB / 0.6218 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.7019, allocations: 0.5668 MB / 0.6223 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.7025, allocations: 433.6 kB / 0.6228 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.7027, allocations: 47.38 kB / 0.6228 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.7054, allocations: 0.9096 MB / 0.6237 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.7057, allocations: 158.6 kB / 0.6238 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.7061, allocations: 325.5 kB / 0.6242 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.7083, allocations: 1.318 MB / 0.6254 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7083, allocations: 4 kB / 0.6254 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7083, allocations: 0 / 0.6254 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.7084, allocations: 0 / 0.6254 GB, free: 11.57 MB / 446.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.001963/0.7103, allocations: 1.025 MB / 0.6264 GB, free: 10.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.7104, allocations: 12.03 kB / 0.6265 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7114, allocations: 135.2 kB / 0.6266 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.7121, allocations: 452.5 kB / 0.627 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.7122, allocations: 36.94 kB / 0.6271 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.7123, allocations: 36 kB / 0.6271 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.7133, allocations: 0.5477 MB / 0.6276 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.7134, allocations: 0 / 0.6276 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.7135, allocations: 28.81 kB / 0.6276 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.7135, allocations: 8 kB / 0.6277 GB, free: 9.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.7143, allocations: 411.6 kB / 0.628 GB, free: 8.777 MB / 446.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.003429/0.7178, allocations: 2.6 MB / 0.6306 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.7184, allocations: 284.1 kB / 0.6309 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.7188, allocations: 148.8 kB / 0.631 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.7204, allocations: 1.229 MB / 0.6322 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.7204, allocations: 38.56 kB / 0.6322 GB, free: 4.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.525e-06/0.7204, allocations: 0 / 0.6322 GB, free: 4.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002583/0.723, allocations: 0.7034 MB / 0.6329 GB, free: 3.316 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7231, allocations: 140.5 kB / 0.6331 GB, free: 3.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.7237, allocations: 445.9 kB / 0.6335 GB, free: 2.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.7238, allocations: 33.7 kB / 0.6335 GB, free: 2.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.724, allocations: 267.8 kB / 0.6338 GB, free: 2.395 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.7241, allocations: 102.6 kB / 0.6339 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.7243, allocations: 109.5 kB / 0.634 GB, free: 2.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.7245, allocations: 350.8 kB / 0.6343 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.7249, allocations: 147.9 kB / 0.6344 GB, free: 1.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.7254, allocations: 275.9 kB / 0.6347 GB, free: 1.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.7263, allocations: 417.5 kB / 0.6351 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7263, allocations: 0 / 0.6351 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001256/0.7276, allocations: 0.5209 MB / 0.6356 GB, free: 384 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7276, allocations: 8 kB / 0.6356 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7277, allocations: 7.938 kB / 0.6356 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.7297, allocations: 270.5 kB / 0.6359 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.7301, allocations: 95.88 kB / 0.636 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.7312, allocations: 0.6069 MB / 0.6366 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.7317, allocations: 51.58 kB / 0.6366 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.7318, allocations: 47.98 kB / 0.6367 GB, free: 15.27 MB / 462.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.0003387/0.7321, allocations: 181.6 kB / 0.6368 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.7323, allocations: 51.44 kB / 0.6369 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.7344, allocations: 0.6709 MB / 0.6375 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7344, allocations: 4 kB / 0.6376 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7344, allocations: 0 / 0.6376 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7345, allocations: 7.984 kB / 0.6376 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7364, allocations: 0.975 MB / 0.6385 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7365, allocations: 4.156 kB / 0.6385 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.7369, allocations: 55.91 kB / 0.6386 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.7389, allocations: 256.5 kB / 0.6388 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.739, allocations: 15.92 kB / 0.6388 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009925/0.74, allocations: 0.6031 MB / 0.6394 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.74, allocations: 0 / 0.6394 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.7414, allocations: 0.5075 MB / 0.6399 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.7415, allocations: 128.5 kB / 0.64 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7416, allocations: 15.84 kB / 0.6401 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.7421, allocations: 19.98 kB / 0.6401 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.7422, allocations: 27.91 kB / 0.6401 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.7422, allocations: 23.97 kB / 0.6401 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000479/0.7427, allocations: 382.8 kB / 0.6405 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7427, allocations: 0 / 0.6405 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008815/0.7436, allocations: 259.8 kB / 0.6407 GB, free: 10.92 MB / 462.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.0009137/0.7445, allocations: 368.9 kB / 0.6411 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.746, allocations: 384.4 kB / 0.6415 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.746, allocations: 0 / 0.6415 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.7468, allocations: 160.3 kB / 0.6416 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.7486, allocations: 356.5 kB / 0.6419 GB, free: 9.684 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.7508, allocations: 0.9079 MB / 0.6428 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.7512, allocations: 0.8471 MB / 0.6437 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.752, allocations: 186.6 kB / 0.6438 GB, free: 7.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.7523, allocations: 79.39 kB / 0.6439 GB, free: 7.598 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.7523, allocations: 0 / 0.6439 GB, free: 7.598 MB / 462.1 MB Notification: Performance of Templates: time 0.0262/0.7785, allocations: 15.03 MB / 0.6586 GB, free: 8.609 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches