Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001971/0.001971, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002495/0.002495, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.109/2.109, allocations: 227.4 MB / 246.9 MB, free: 8.871 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.12 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002917, allocations: 72.91 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1759, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6682/0.8442, allocations: 183.8 MB / 0.6481 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007526/0.8518, allocations: 2.237 MB / 0.6503 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.8531, allocations: 23.81 kB / 0.6504 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.8547, allocations: 250.6 kB / 0.6506 GB, free: 9.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.8604, allocations: 1.04 MB / 0.6516 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.8636, allocations: 0.6137 MB / 0.6522 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.8677, allocations: 1.98 MB / 0.6541 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.8689, allocations: 359.2 kB / 0.6545 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.8709, allocations: 0.5058 MB / 0.655 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.8723, allocations: 462.1 kB / 0.6554 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.8726, allocations: 28 kB / 0.6554 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.8759, allocations: 0.7171 MB / 0.6561 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.8764, allocations: 139.4 kB / 0.6563 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.8775, allocations: 314.5 kB / 0.6566 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.8801, allocations: 0.8808 MB / 0.6574 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8801, allocations: 0 / 0.6574 GB, free: 2.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8802, allocations: 0 / 0.6574 GB, free: 2.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-05/0.8802, allocations: 0 / 0.6574 GB, free: 2.352 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.00374/0.884, allocations: 0.9973 MB / 0.6584 GB, free: 1.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.884, allocations: 11.97 kB / 0.6584 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.8861, allocations: 131.3 kB / 0.6585 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.8875, allocations: 444.5 kB / 0.659 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.8876, allocations: 29 kB / 0.659 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.8877, allocations: 40 kB / 0.659 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.8898, allocations: 0.5593 MB / 0.6596 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8898, allocations: 0 / 0.6596 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.8899, allocations: 20 kB / 0.6596 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.89, allocations: 8.047 kB / 0.6596 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.8916, allocations: 411.6 kB / 0.66 GB, free: 15.59 MB / 0.4981 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.005586/0.8972, allocations: 2.57 MB / 0.6625 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.8985, allocations: 286.7 kB / 0.6628 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.899, allocations: 144.9 kB / 0.6629 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.8997, allocations: 356.3 kB / 0.6633 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.8998, allocations: 43.56 kB / 0.6633 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 5.26e-06/0.8998, allocations: 0 / 0.6633 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.004346/0.9041, allocations: 0.7148 MB / 0.664 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.9043, allocations: 132.5 kB / 0.6641 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.9054, allocations: 445.8 kB / 0.6646 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.9056, allocations: 33.7 kB / 0.6646 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.9059, allocations: 275.8 kB / 0.6648 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.9061, allocations: 102.5 kB / 0.6649 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.9065, allocations: 105.6 kB / 0.665 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.9067, allocations: 358.8 kB / 0.6654 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.9075, allocations: 147.8 kB / 0.6655 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.9084, allocations: 276.3 kB / 0.6658 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.91, allocations: 422.1 kB / 0.6662 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.91, allocations: 4 kB / 0.6662 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002376/0.9124, allocations: 0.525 MB / 0.6667 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.9125, allocations: 4 kB / 0.6667 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.9125, allocations: 4 kB / 0.6667 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/0.916, allocations: 280.6 kB / 0.667 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/0.9168, allocations: 100.8 kB / 0.6671 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.9185, allocations: 0.6031 MB / 0.6677 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009982/0.9195, allocations: 67.47 kB / 0.6677 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.9197, allocations: 47.98 kB / 0.6678 GB, free: 7.074 MB / 0.4981 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.0005875/0.9203, allocations: 177.7 kB / 0.668 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.9207, allocations: 47.44 kB / 0.668 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/0.9248, allocations: 1.024 MB / 0.669 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9248, allocations: 4 kB / 0.669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.9249, allocations: 0 / 0.669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9249, allocations: 0 / 0.669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.9281, allocations: 0.9712 MB / 0.6699 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.9282, allocations: 4.75 kB / 0.67 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.9286, allocations: 47.95 kB / 0.67 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/0.9322, allocations: 292.5 kB / 0.6703 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.9323, allocations: 19.86 kB / 0.6703 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.934, allocations: 0.6031 MB / 0.6709 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.934, allocations: 0 / 0.6709 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.9364, allocations: 0.5116 MB / 0.6714 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.9368, allocations: 132.4 kB / 0.6715 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.9371, allocations: 8 kB / 0.6715 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.9381, allocations: 39.88 kB / 0.6716 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.9383, allocations: 23.91 kB / 0.6716 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.9384, allocations: 19.97 kB / 0.6716 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001097/0.9395, allocations: 394.8 kB / 0.672 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9395, allocations: 3.938 kB / 0.672 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001575/0.9411, allocations: 219.8 kB / 0.6722 GB, free: 2.371 MB / 0.4981 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.001526/0.9427, allocations: 304.9 kB / 0.6725 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.9452, allocations: 368.4 kB / 0.6728 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.9452, allocations: 0 / 0.6728 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.9466, allocations: 159.8 kB / 0.673 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.9499, allocations: 328.2 kB / 0.6733 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.9543, allocations: 1.088 MB / 0.6744 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.9551, allocations: 0.8436 MB / 0.6752 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/0.9559, allocations: 119.4 kB / 0.6753 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.773e-06/0.9559, allocations: 7.938 kB / 0.6753 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.03531/0.9913, allocations: 13.2 MB / 0.6882 GB, free: 1.973 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches